]> git.eshelyaron.com Git - emacs.git/commit
query-replace-regexp undo: Update next-replacement after undo
authorTino Calancha <tino.calancha@gmail.com>
Mon, 9 Sep 2019 06:21:18 +0000 (08:21 +0200)
committerTino Calancha <tino.calancha@gmail.com>
Mon, 9 Sep 2019 06:21:18 +0000 (08:21 +0200)
commit30c4f35a6fc8a6507930923766c3126ac1c2063f
tree59127e9f50d95fa2b1767674ec99203a41738960
parentc596be08f71e8118ddaa3e330997716de4c109ab
query-replace-regexp undo: Update next-replacement after undo

* lisp/replace.el (perform-replace):
Rename the local binding to not shadow next-replacement.
Update next-replacement after undo (Bug#37287).

* test/lisp/replace-tests.el (query-replace-undo-bug37287): Add test.
(query-replace-undo-bug37073): Tweak this test.
lisp/replace.el
test/lisp/replace-tests.el