Skip to content

Commit cbc10ec

Browse files
committed
Fix an assignment to free variable warning
It fixes a bug introduced by commit 'query-replace-regexp undo: Update next-replacement after undo' (30c4f35) See https://lists.gnu.org/archive/html/emacs-devel/2019-09/msg00364.html * lisp/replace.el(perform-replace): Rename variable to next-replacement-replaced.
1 parent 746b20c commit cbc10ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lisp/replace.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -2711,7 +2711,7 @@ characters."
27112711
search-string (nth (if replaced 4 3) elt)
27122712
last-replacement (nth (if replaced 3 4) elt)
27132713
search-string-replaced search-string
2714-
last-replacement-replaced last-replacement
2714+
next-replacement-replaced last-replacement
27152715
last-was-act-and-show nil)
27162716

27172717
(when (and (= stack-idx stack-len)

0 commit comments

Comments
 (0)