[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Calc settings file
From: |
Miles Bader |
Subject: |
Re: Calc settings file |
Date: |
12 Nov 2003 15:55:08 +0900 |
Jay Belanger <address@hidden> writes:
> The calc settings file (`calc-settings-file') defaults (supposedly) to
> the user init file. When calc starts up, it makes sure that this file
> is loaded, but if it is the user init file, it doesn't want to load it
> again. So there is a check to see if the init file name contains the
> string `.emacs'.
...
> An easy way to fix it would be to change the default calc settings
> file, and then removing the check for `.emacs' in the file name.
The current check to `not load the user init file again' is pretty stupid:
(string-match "\\.emacs" calc-settings-file)
How about just changing it to:
(equal calc-settings-file user-init-file)
[the sense of the expression is negative]
That seems like it would preserve the current behavior and default
without screwing people like you.
-Miles
--
Ich bin ein Virus. Mach' mit und kopiere mich in Deine .signature.