]> git.eshelyaron.com Git - emacs.git/commit
replace-tests.el: Refactor undo tests
authorTino Calancha <tino.calancha@gmail.com>
Sat, 26 May 2018 15:58:48 +0000 (00:58 +0900)
committerTino Calancha <tino.calancha@gmail.com>
Sat, 26 May 2018 15:58:48 +0000 (00:58 +0900)
commit7dcfdf5b14325ae7996f272f14c72810d7c84944
treeab2fe83e3c3b0b462e208be10ae1272b9b2d462c
parent9c97d311c32c89d6e884a8bc583ec01c1dfba05b
replace-tests.el: Refactor undo tests

* test/lisp/replace-tests.el (replace-tests-bind-read-string): New variable.
(replace-tests-with-undo): Add helper macro to generate the boilerplate code.
(replace-tests--query-replace-undo, query-replace-undo-bug31073)
(query-replace-undo-bug31492, query-replace-undo-bug31538): Use it.
test/lisp/replace-tests.el