bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Bastien
Subject: bug#11104: 24.0.94; (void-function make-local-hook): Update NEWS maybe?
Date: Wed, 28 Mar 2012 16:42:46 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux)

Andreas Schwab <address@hidden> writes:

> Bastien <address@hidden> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]