]> git.eshelyaron.com Git - emacs.git/commit
Fix query-replace-regexp undo feature
authorTino Calancha <tino.calancha@gmail.com>
Mon, 19 Aug 2019 15:32:09 +0000 (17:32 +0200)
committerTino Calancha <tino.calancha@gmail.com>
Mon, 19 Aug 2019 15:32:09 +0000 (17:32 +0200)
commitbeb1d22260af2e03d80d34fcc1db212785a9d903
tree04e6f0becdd395cba0f221bed564f2e5defe44fb
parent190565b2396d80178fc5f6757117540e3a1ae9e1
Fix query-replace-regexp undo feature

Ensure that non-regexp strings used with `looking-at' are quoted.
* lisp/replace.el (perform-replace): Quote regexp (Bug#37073).
* test/lisp/replace-tests.el (replace-tests-perform-replace-regexp-flag):
New variable.
(replace-tests-with-undo): Use it.
(query-replace-undo-bug37073): Add tests.
lisp/replace.el
test/lisp/replace-tests.el