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: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 6337 <at> debbugs.gnu.org, Drew Adams <drew.adams <at> oracle.com>
Subject: bug#6337: 24.0.50; doc of define-minor-mode incomplete wrt mode hooks
Date: Thu, 14 Jul 2011 00:10:58 +0200
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

>> 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.

This doesn't seem like a bug, then, so I'm closing this report.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




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.