[Top][All Lists]

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

bug#11381: 23.3; isearch-search-and-update issue?

From: Stefan Monnier
Subject: bug#11381: 23.3; isearch-search-and-update issue?
Date: Mon, 28 May 2012 00:23:10 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

> Comparing two functions can be avoided by using properties
> on function symbols like in the patch below.

It's not perfect, but yes, it's much better.

> The same solution of using symbol properties could be used also
> for isearch filters to replace
>            (and (eq isearch-filter-predicate 'isearch-filter-visible)
>                 search-invisible))
> with
>            (and (symbolp isearch-filter-predicate)
>                   (get isearch-filter-predicate 'visible)
>                 search-invisible))

Yes, that might also help allowing isearch-filter-predicate to take
a list of functions.


reply via email to

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