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

From: Stefan Monnier <[email-masked]>
Date: Mon, 28 May 2012 00:23:10 -0400

> 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.

        Stefan