]> git.eshelyaron.com Git - emacs.git/commit
Preserve case in query-replace undo
authorTino Calancha <tino.calancha@gmail.com>
Mon, 9 Apr 2018 02:47:47 +0000 (11:47 +0900)
committerTino Calancha <tino.calancha@gmail.com>
Mon, 9 Apr 2018 02:47:47 +0000 (11:47 +0900)
commit32dc0cb1b5ae895d237c7118ccaeb084715934fd
treefb8f4645d3584fdf5281bc78e662d5c893e56bea
parent24f7defaf79e5afc38f40de01c78a4a7ed51dbd4
Preserve case in query-replace undo

If the user query and replaces 'foo' with 'BAR', then
undo must comeback to 'foo', not to 'FOO' (Bug#31073).
* lisp/replace.el (perform-replace): Bind nocasify to non-nil
value during undo/undo-all actions.
* test/lisp/replace-tests.el (query-replace-undo-bug31073): Add test.
lisp/replace.el
test/lisp/replace-tests.el