changeset 59424:1c4ad61afb54

(calc-mode): Remove the extension from `calc-settings-file' for loading.
author Jay Belanger <jay.p.belanger@gmail.com>
date Sat, 08 Jan 2005 20:35:45 +0000
parents 3eca2bed63e4
children e33735d47392
files lisp/calc/calc.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/calc/calc.el	Sat Jan 08 20:06:23 2005 +0000
+++ b/lisp/calc/calc.el	Sat Jan 08 20:35:45 2005 +0000
@@ -1028,7 +1028,7 @@
       (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")