]> git.eshelyaron.com Git - emacs.git/commit
query-replace undo: Handle when user edits the replacement string
authorTino Calancha <tino.calancha@gmail.com>
Sun, 3 Jun 2018 14:28:30 +0000 (23:28 +0900)
committerTino Calancha <tino.calancha@gmail.com>
Sun, 3 Jun 2018 14:28:30 +0000 (23:28 +0900)
commit5fa73a7d98040f749f4cd45cfa40cf3c1c8cc2e3
tree01511805dc80acff47aba83bb967b81daa229f6a
parent031004e81b1507c4594ae253faaafcda31f253c8
query-replace undo: Handle when user edits the replacement string

* lisp/replace.el (perform-replace): Update the replacement string
after the user edit it (Fix Bug#31538).

* test/lisp/replace-tests.el (query-replace-undo-bug31538): New test.

Backport: (cherry picked from commits
ea133e04f49afa7928e49a3ac4a85b47f6f13f01
and
7dcfdf5b14325ae7996f272f14c72810d7c84944)
lisp/replace.el
test/lisp/replace-tests.el