diff options
author | Tino Calancha <tino.calancha@gmail.com> | 2019-08-19 17:32:09 +0200 |
---|---|---|
committer | Tino Calancha <tino.calancha@gmail.com> | 2019-08-19 17:32:09 +0200 |
commit | beb1d22260af2e03d80d34fcc1db212785a9d903 (patch) | |
tree | 04e6f0becdd395cba0f221bed564f2e5defe44fb /lisp/emacs-lisp/trace.el | |
parent | 190565b2396d80178fc5f6757117540e3a1ae9e1 (diff) | |
download | emacs-beb1d22260af2e03d80d34fcc1db212785a9d903.tar.gz emacs-beb1d22260af2e03d80d34fcc1db212785a9d903.tar.bz2 emacs-beb1d22260af2e03d80d34fcc1db212785a9d903.zip |
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.
Diffstat (limited to 'lisp/emacs-lisp/trace.el')
0 files changed, 0 insertions, 0 deletions