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: Mon, 05 Jan 2009 17:15:06 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

> If you add an autoload cookie to a defcustom
>   ;;;###autoload
>   (defcustom ourcomments-ido-ctrl-tab nil

> and use get-file-autoloads on this then you get a load def

>   (defvar ourcomments-ido-ctrl-tab nil "\
>   bla bla doc")

>   (custom-autoload 'ourcomments-ido-ctrl-tab "ourcomments-util" nil)

> This does not take care of :set etc in the defcustom AFAICS. Shouldn't
> it do that?

It should and AFAIK it does.  But your notion of "take care of" might be
different from mine.  So please be more specific.

> (Is this the reason that minor modes defined in libraries
> external to Emacs are not turned on properly?)

I don't know what you're referring to.


        Stefan




reply via email to

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