* lisp/replace.el (perform-replace): Ignore invisible matches.
authorJuri Linkov <juri@jurta.org>
Mon, 27 May 2013 23:02:37 +0000 (02:02 +0300)
committerJuri Linkov <juri@jurta.org>
Mon, 27 May 2013 23:02:37 +0000 (02:02 +0300)
commitd289938a057ab8572fc60eb5367980eeef35d600
tree90ca18e1aeef7cc5f824ce5ed8d8ac99887eeb4e
parent66fc57e3cdc9ffc2bed7a457a39a210fcf773e98
* lisp/replace.el (perform-replace): Ignore invisible matches.
In addition to checking `query-replace-skip-read-only', also
filter out matches by calling `run-hook-with-args-until-failure'
on `isearch-filter-predicates', and also check `search-invisible'
for t or call `isearch-range-invisible'.
(replace-dehighlight): Call `isearch-clean-overlays'.

Fixes: debbugs:11746
etc/NEWS
lisp/ChangeLog
lisp/replace.el