diff options
author | Tino Calancha <tino.calancha@gmail.com> | 2018-05-26 11:28:21 +0900 |
---|---|---|
committer | Tino Calancha <tino.calancha@gmail.com> | 2018-05-26 11:31:26 +0900 |
commit | ea133e04f49afa7928e49a3ac4a85b47f6f13f01 (patch) | |
tree | bb297df626833d9160287fa9c9c0e8f85dd70f6e /lisp/emacs-lisp | |
parent | 48d6212655c347ded7f4ec398467e05c6bce1dc7 (diff) | |
download | emacs-ea133e04f49afa7928e49a3ac4a85b47f6f13f01.tar.gz emacs-ea133e04f49afa7928e49a3ac4a85b47f6f13f01.tar.bz2 emacs-ea133e04f49afa7928e49a3ac4a85b47f6f13f01.zip |
query-replace undo: Handle when user edits the replacement string
* lisp/replace.el (perform-replace): Update the replacement string
after the user edit it (Fix Bug#31538).
* test/lisp/replace-tests.el (replace-tests-clauses): New function.
(replace-tests-bind-read-string): New variable.
(replace-tests-with-undo): Macro to create boilerplate code.
(query-replace-undo-bug31073): Use it.
(query-replace-undo-bug31538): New test.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions