emacs-devel
[Top][All Lists]
Advanced

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

Re: defcustom problem with packages (user error?)


From: Elias Mårtenson
Subject: Re: defcustom problem with packages (user error?)
Date: Thu, 13 Nov 2014 21:03:09 +0800

On 12 November 2014 22:45, Stefan Monnier <address@hidden> wrote:
> I'm not sure if that's the cause of your problem, but you don't need to
> autoload all those defcustom s.
> Just autoload the entry functions.

Oh, indeed, autoloading variables is generally a bad idea.  And it could
explain the behavior.  I haven't seen such problem until now, but it's
probably because such autoloads are rare.  So maybe we should document
it more prominently.

Thank you. I made this change and indeed now it works better.

That said, if it's not a good idea to autoload customisable variables, then what is the purpose of `custom-autoload'? This is what gets inserted into gnu-apl-mode-autoloads.el.

Regards,
Elias

reply via email to

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