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: Sun, 5 Dec 2004 22:02:01 -0600 (CST)

Lennart Borgman wrote:

   I meant that perhaps this things would not matter with proper
   functions for :set and :get for custom-file.

If you just set `custom-file' with a setq in the user's init file, the
:set and :get functions will not be called when the user's init file
is loaded.  So you will have to insert calls to named functions in the
user's init file that can be updated whenever Custom changes, without
need to update the user's init file.

It seems a _lot_ cleaner to just put in a call to "load" in the user's
init file and let `custom-set-variables' do all the work.

Sincerely,

Luc.




reply via email to

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