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

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

bug#47992: 27; 28; Phase out use of `equal` in `add-hook`, `remove-hook`


From: Lars Ingebrigtsen
Subject: bug#47992: 27; 28; Phase out use of `equal` in `add-hook`, `remove-hook`
Date: Sun, 04 Jul 2021 04:56:19 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Michael Heerdegen <michael_heerdegen@web.de> writes:

> Lars Ingebrigtsen <larsi@gnus.org> writes:
>
>> [...]
>> and then this new add-hook function could refuse to accept name-less
>> lambdas...
>
> I must say I'm skeptical: in the case of `add-hook', this would be not
> much different from forcing the use of symbols (aka named normal
> functions).  Why add another name space (and the complexity this
> implies) - where is one too limiting?

These would not be normal functions, but lambdas with an id.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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