]> git.eshelyaron.com Git - emacs.git/commitdiff
(calc-mode): Remove the extension from `calc-settings-file' for loading.
authorJay Belanger <jay.p.belanger@gmail.com>
Sat, 8 Jan 2005 20:35:45 +0000 (20:35 +0000)
committerJay Belanger <jay.p.belanger@gmail.com>
Sat, 8 Jan 2005 20:35:45 +0000 (20:35 +0000)
lisp/calc/calc.el

index a0bd5aaff11069fa05d1c0fc02b4c1b6e5e7f550..635cb75520ff5415a139ed7b8a3dfbc6fb9fe5b8 100644 (file)
@@ -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")