emacs-devel
[Top][All Lists]
Advanced

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

Re: Idempotency of add-hook wrt lambda expressions


From: Lennart Borgman
Subject: Re: Idempotency of add-hook wrt lambda expressions
Date: Wed, 4 Mar 2009 22:27:16 +0100

On Wed, Mar 4, 2009 at 10:23 PM, Stefan Monnier
<address@hidden> wrote:
>> if the code suggested does fix this without any other problems, why not?
>
> Because it's a hack.  So it takes care of 80% of the cases but still
> doesn't fix the remaining cases.  Fixing the remaining cases requires
> using a symbol, so just use a symbol and get on with your life.
> I'd much rather add a patch that complains when you pass a lambda to
> add-hook.

Please do and do the same for menus. This would make it much easier to
search for errors.




reply via email to

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