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, 04 Apr 2012 10:30:24 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux)

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> Yes.  The `gnus-make-local-hook' uses the 'ignore function for its
>> backward-compatibility function.  The Sphinx said we should use
>> 'identity for the defalias.  So I'm a bit loss.  But that's okay,
>> I can live with it.
>
> To be backward compatible, a redefinition of make-local-hook should use
> `identity' so as to return the same value as the old definition did.
> For gnus-make-local-hook that's not necessary because Gnus's code
> doesn't use the return value of make-local-hook.

Got it, thanks.

-- 
 Bastien





reply via email to

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