]> git.eshelyaron.com Git - emacs.git/commit
* lisp/replace.el (perform-replace): Use 'remove-function' (bug#49963).
authorJuri Linkov <juri@linkov.net>
Wed, 11 Aug 2021 07:06:29 +0000 (10:06 +0300)
committerJuri Linkov <juri@linkov.net>
Wed, 11 Aug 2021 07:06:29 +0000 (10:06 +0300)
commitda8277abc19d6eb1ac5a15273daca03f4237294b
tree8fc88e1b096c56492579bdbf332af813822cbae5
parenta8e89964f3553f40b8807617c3b181f42cd22fd9
* lisp/replace.el (perform-replace): Use 'remove-function' (bug#49963).

Don't let-bind the value of 'isearch-filter-predicate' to protect
from changing the global value, since with a buffer-local value
it still changes the global value.  So after using 'add-function' on the
global value of 'isearch-filter-predicate', call 'remove-function' to remove
'region-filter' from the global value in 'unwind-protect'.
lisp/replace.el