GNU bug report logs - #7236
24.0.50; make-local-hook missing

Previous Next

Package: emacs;

Reported by: saint <at> eng.it

Date: Mon, 18 Oct 2010 15:02:02 UTC

Severity: minor

Tags: wontfix

Merged with 11104

Found in versions 24.0.50, 24.0.94

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: "Drew Adams" <drew.adams <at> oracle.com>
To: "'Stefan Monnier'" <monnier <at> iro.umontreal.ca>, "'Alan Mackenzie'" <acm <at> muc.de>
Cc: 7236 <at> debbugs.gnu.org, saint <at> eng.it
Subject: bug#7236: 24.0.50; make-local-hook missing
Date: Mon, 18 Oct 2010 19:15:59 -0700
> No: m-l-h is also unnecessary when add-hook is called with a nil LOCAL
> argument.  I know of no case where calling make-local-hook makes
> a difference in Emacs>=21.

In Emacs 20 also there is a LOCAL optional arg to add-hook. Should all code for
Emacs 20-24 remove make-local-hook calls and instead add `t' to an existing call
to add-hook? That is, if there already is a call to add-hook, in addition to a
call to make-local-hook, should the latter be removed and a non-nil LOCAL arg be
added to the former?





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

Previous Next


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