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: David Kastrup
Subject: Re: Idempotency of add-hook wrt lambda expressions
Date: Fri, 06 Mar 2009 10:36:39 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Reiner Steib <address@hidden> writes:

> On Thu, Mar 05 2009, Edward O'Connor wrote:
>
>>> Maybe we should provide turn-on-auto-fill-mode and use it here?
>>
>> `turn-on-auto-fill' and `turn-off-auto-fill' are already defined in
>> simple.el. 
>
> Oh, stupid me.  I thought it should be interactive, so I only checked
> `M-x turn-on-a TAB' and got "No match".
>
>> The docs should just be updated to use them.
>
> Agreed.

They already mention this as a simpler variant, right after the passage
I quoted.  But that does not change that the "complex" variant is
presented first, and with the full intent of showing the use of lambda
in a hook.

-- 
David Kastrup




reply via email to

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