emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Documentation for custom-file - is not (load custom-file) needed?


From: Luc Teirlinck
Subject: Re: Documentation for custom-file - is not (load custom-file) needed?
Date: Mon, 6 Dec 2004 21:27:23 -0600 (CST)

Lennart Borgman wrote:

   a) I do not think it is good to store it in (custom-set-variables ...) since
   that would make it much harder to rename that file because
   custom-set-variables would read the old file name.

Renaming your custom file behind Emacs' back is about as advisable as
renaming your .emacs file.  The only valid reason would appear to be
to temporarily disable it.  Moreover, you get the same problem with
the `setq', unless you edit your .emacs.

Note that when you rename your custom file during an Emacs session and
then change `custom-file' using Custom, then this poses no problem
whatsoever.  Custom writes into the new custom-file all options with a
non-nil `saved-value' property.  It does _not_ read from the old custom
file.  But unless you renamed your old custom file or played games
with `saved-value' properties that you should not be playing, the
result will be equivalent with reading from the old file.

Sincerely,

Luc.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]