* lisp/replace.el (perform-replace): Move let-bindings of isearch-*
commitdc2bc29527d65f54704570c991e023cbb0723544
authorJuri Linkov <juri@jurta.org>
Fri, 1 Feb 2013 23:38:41 +0000 (2 01:38 +0200)
committerJuri Linkov <juri@jurta.org>
Fri, 1 Feb 2013 23:38:41 +0000 (2 01:38 +0200)
tree2096e5aab561b99ed282243946041ba2fa9d9174
parentf864e0ea838f8f5e1a27b2ac612d0072c1606507
* lisp/replace.el (perform-replace): Move let-bindings of isearch-*
variables deeper to the loop that searches for the next match.
Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
Use `isearch-search-fun-default' instead of `isearch-search-fun'.

* lisp/isearch.el (isearch-search-fun-default): Check for null
first element of isearch-cmds as a precaution when it's used
with inactive isearch.

Fixes: debbugs:13579
lisp/ChangeLog
lisp/isearch.el
lisp/replace.el