GNU bug report logs - #6337
24.0.50; doc of define-minor-mode incomplete wrt mode hooks

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Thu, 3 Jun 2010 00:04:01 UTC

Severity: minor

Tags: notabug

Found in version 24.0.50

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: 6337 <at> debbugs.gnu.org
Subject: bug#6337: 24.0.50; doc of define-minor-mode incomplete wrt mode hooks
Date: Wed, 02 Jun 2010 21:56:30 -0400
> 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







This bug report was last modified 13 years and 320 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.