mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-16 16:20:40 -08:00
Backport: Fix an assignment to free variable warning
It fixes a bug introduced by commit 'query-replace-regexp undo: Update next-replacement after undo' (30c4f35a6f) See https://lists.gnu.org/archive/html/emacs-devel/2019-09/msg00364.html * lisp/replace.el(perform-replace): Rename variable to next-replacement-replaced. (cherry picked from commitcbc10ec71e)
This commit is contained in:
parent
30c4f35a6f
commit
bba9757a1f
1 changed files with 1 additions and 1 deletions
|
|
@ -2597,7 +2597,7 @@ It must return a string."
|
|||
search-string (nth (if replaced 4 3) elt)
|
||||
last-replacement (nth (if replaced 3 4) elt)
|
||||
search-string-replaced search-string
|
||||
last-replacement-replaced last-replacement
|
||||
next-replacement-replaced last-replacement
|
||||
last-was-act-and-show nil)
|
||||
|
||||
(when (and (= stack-idx stack-len)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue