emacs-devel
[Top][All Lists]
Advanced

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

Re: Autoloaded defcustoms


From: Stefan Monnier
Subject: Re: Autoloaded defcustoms
Date: Tue, 06 Jan 2009 09:54:37 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>>>>> (custom-autoload 'ourcomments-ido-ctrl-tab "ourcomments-util" nil)
>> 
>>> If the load def above is run after custom-set-variables then the
>>> custom-set part of the defcustom symbol is not run since
>>> custom-autoload does not do that.
>> 
>> After the above custom-autoload, if custom-set-variables sets this var,
>> it should cause "ourcomments-util" to be loaded, so that the
>> proper :setter is used.  At least that's what the 3rd argument (nil) is
>> supposed to do.

> Yes, but the situation I am talking about is that custom-set-variables
> have been run before custom-autoload (see my prev message).

That would be a pilot error.


        Stefan





reply via email to

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