emacs-devel
[Top][All Lists]
Advanced

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

Re: Autoload cookies


From: Daniel Colascione
Subject: Re: Autoload cookies
Date: Sun, 07 Dec 2014 14:03:47 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0

On 12/07/2014 02:00 PM, Lars Magne Ingebrigtsen wrote:
> Speaking of `declare', I've always found the autoload cookie thing a bit
> odd.  Putting functionality into comments is kinda hacky.
> 
> What about a new (declare (autoload t)) defun form or something?

But you can autoload things that aren't function definitions, like
keybindings or auto-mode-alist modifications. I think the current scheme
is fine, but if we had to use something more lispy, I'd opt for a
top-level with-autoload macro. (Or would that be
emacs-core-eval-with-autoload?)

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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