bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#7308: [patch] locate under windoze


From: Stefan Monnier
Subject: bug#7308: [patch] locate under windoze
Date: Mon, 01 Nov 2010 10:06:23 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

>> +;;;###autoload
>> +(defcustom locate-post-command-hook nil
> [...]
>> +;;;###autoload
>> +(defcustom locate-mode-hook nil
> Just a comment that -hook variables do not need to be defined;

While that's true, it's good to define them so as to give them
a docstring, and so they can be found via C-h v.

> and they absolutely do not need to be autoloaded.

That is indeed true.  Every ;;;###autoload for a variable should come
with a clear convincing comment explaining why this variable needs to
be autoloaded.


        Stefan





reply via email to

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