Subject: Re: bug#11104: 24.0.94; (void-function make-local-hook): Update NEWS maybe?

From: Bastien <[email-masked]>
Date: Wed, 28 Mar 2012 16:42:46 +0200

Andreas Schwab <[email-masked]> writes:

> Bastien <[email-masked]> 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