[Top][All Lists]
[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.
- Idempotency of add-hook wrt lambda expressions, Geoff Gole, 2009/03/04
- Re: Idempotency of add-hook wrt lambda expressions, David Reitter, 2009/03/04
- Re: Idempotency of add-hook wrt lambda expressions, Stephen J. Turnbull, 2009/03/04
- Re: Idempotency of add-hook wrt lambda expressions, Stefan Monnier, 2009/03/04
- Re: Idempotency of add-hook wrt lambda expressions, Geoff Gole, 2009/03/05
- Re: Idempotency of add-hook wrt lambda expressions, David Kastrup, 2009/03/05
- Re: Idempotency of add-hook wrt lambda expressions, tomas, 2009/03/05
- Re: Idempotency of add-hook wrt lambda expressions, Geoff Gole, 2009/03/05
- Re: Idempotency of add-hook wrt lambda expressions, Alan Mackenzie, 2009/03/05
- Re: Idempotency of add-hook wrt lambda expressions, Helmut Eller, 2009/03/05