GNU bug report logs - #11104
24.0.94; (void-function make-local-hook): Update NEWS maybe?

Previous Next

Package: emacs;

Reported by: Jambunathan K <kjambunathan <at> gmail.com>

Date: Tue, 27 Mar 2012 20:20:01 UTC

Severity: minor

Tags: wontfix

Merged with 7236

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


Message #55 received at 11104 <at> debbugs.gnu.org (full text, mbox):

From: Bastien <bzg <at> altern.org>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: 11104 <at> debbugs.gnu.org, 'Leo' <sdl.web <at> gmail.com>,
	Drew Adams <drew.adams <at> oracle.com>
Subject: Re: bug#11104: 24.0.94;
	(void-function make-local-hook): Update NEWS maybe?
Date: Wed, 28 Mar 2012 16:42:46 +0200
Andreas Schwab <schwab <at> linux-m68k.org> writes:

> Bastien <bzg <at> altern.org> writes:
>
>> And Gnus defines it using 'ignore.  
>
> It doesn't.  It defines gnus-make-local-hook.

This is in gnus-utils.el:

;; The LOCAL arg to `add-hook' is interpreted differently in Emacs and
;; XEmacs.  In Emacs we don't need to call `make-local-hook' first.
;; It's harmless, though, so the main purpose of this alias is to shut
;; up the byte compiler.
(defalias 'gnus-make-local-hook (if (featurep 'xemacs)
                                    'make-local-hook
                                  'ignore))

IIUC, you think it should be

(defalias 'gnus-make-local-hook (if (featurep 'xemacs)
                                    'make-local-hook
                                  'identity))

right?

-- 
 Bastien




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

Previous Next


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