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: Stefan Monnier
Subject: Re: 1) (elisp) `Advising Named Functions', 2) search filtering example
Date: Mon, 17 Oct 2016 11:51:37 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

> Applying macro `add-function' to `isearch-filter-predicate'
> advises the value - the function itself.

No.

> It does not just
> point the variable to a different value (function).

Yes it does.

> `(symbol-function isearch-filter-predicate)' returns an advice
> (an object that satisfies "internal" predicate `advice--p').

No, it returns nil because this symbol is not defined as a function.


        Stefan




reply via email to

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