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

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

bug#6337: 24.0.50; doc of define-minor-mode incomplete wrt mode hooks


From: Stefan Monnier
Subject: bug#6337: 24.0.50; doc of define-minor-mode incomplete wrt mode hooks
Date: Wed, 02 Jun 2010 21:56:30 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

> The doc (doc string and Elisp manual) speaks about the MODE-hook, where
> MODE is the name of the minor mode.  But it does not mention that there
> is also a `MODE-on-hook' and a `MODE-off-hook'.  That is, if you define
> those hook variables they to will be processed by the mode command.

They're only supported for historical reasons.  We could/should probably
get rid of them.


        Stefan








reply via email to

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