]> git.eshelyaron.com Git - emacs.git/commit
Fix corner case in query-replace-regexp undo
authorTino Calancha <tino.calancha@gmail.com>
Wed, 23 May 2018 09:20:36 +0000 (18:20 +0900)
committerTino Calancha <tino.calancha@gmail.com>
Wed, 23 May 2018 09:20:36 +0000 (18:20 +0900)
commitbab73230d1be1fe394b7269c1365ef6fb1a5d9b3
tree6a72e3b835d74781cfb878278aa5e944f90bf3b1
parentcc130d13d4b2b4c20d22401364f9814871819791
Fix corner case in query-replace-regexp undo

This commit fixes Bug#31492.
* lisp/replace.el (replace-match-maybe-edit): Preserve match data.

* test/lisp/replace-tests.el (query-replace-undo-bug31492): Add test.
lisp/replace.el
test/lisp/replace-tests.el