emacs-devel
[Top][All Lists]
Advanced

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

Re: 1) (elisp) `Advising Named Functions', 2) search filtering example


From: Noam Postavsky
Subject: Re: 1) (elisp) `Advising Named Functions', 2) search filtering example
Date: Mon, 17 Oct 2016 12:16:53 -0400

On Mon, Oct 17, 2016 at 11:40 AM, Drew Adams <address@hidden> wrote:

> I think that is wrong also.  `add-hook' _can_ be used to modify a _single
> function hook_.  And the doc of `add-hook' tells you so, in its last line -
> `C-h f add-hook':
>
>   ...
>   If HOOK's value is a single function, it is changed to a list of
>   functions.

If you do this, then you will break the callers, which expect the
value of this variable to be a single function.



reply via email to

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