From 6bbfeec558c35adffa9945f26f0c112ed6e822e6 Mon Sep 17 00:00:00 2001 From: Jay Belanger Date: Sat, 8 Jan 2005 20:35:45 +0000 Subject: [PATCH] (calc-mode): Remove the extension from `calc-settings-file' for loading. --- lisp/calc/calc.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/calc/calc.el b/lisp/calc/calc.el index a0bd5aaff11..635cb75520f 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") -- 2.39.5