• Tino Calancha's avatar
    Fix query-replace-regexp undo feature · beb1d222
    Tino Calancha authored
    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.
    beb1d222
replace.el 111 KB