emacs-devel
[Top][All Lists]
Advanced

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

Re: Autoloaded defcustoms


From: Lennart Borgman
Subject: Re: Autoloaded defcustoms
Date: Tue, 6 Jan 2009 16:00:22 +0100

On Tue, Jan 6, 2009 at 3:54 PM, Stefan Monnier <address@hidden> wrote:
>>>>>> (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.


Yes, but who is the pilot ...?

Or, why not take care of this problem? I have no problem giving more
concrete examples why this can be needed, but do I have to do that?




reply via email to

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