aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Belanger <[email protected]>2005-01-08 20:35:45 +0000
committerJay Belanger <[email protected]>2005-01-08 20:35:45 +0000
commit6bbfeec558c35adffa9945f26f0c112ed6e822e6 (patch)
tree4752f80f19083358adbaf5d531c6376562479678
parent3c1498ace84a3c0ca7549c662e6dd0487b6e4749 (diff)
(calc-mode): Remove the extension from `calc-settings-file' for loading.
-rw-r--r--lisp/calc/calc.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/calc/calc.el b/lisp/calc/calc.el
index a0bd5aaff1..635cb75520 100644
--- a/lisp/calc/calc.el
+++ b/lisp/calc/calc.el
@@ -1028,7 +1028,7 @@ Notations: 3.14e6 3.14 * 10^6
(equal calc-settings-file user-init-file)
(progn
(setq calc-loaded-settings-file t)
- (load calc-settings-file t))) ; t = missing-ok
+ (load (file-name-sans-extension calc-settings-file) t))) ; t = missing-ok
(let ((p command-line-args))
(while p
(and (equal (car p) "-f")