• Tino Calancha's avatar
    Preserve case in query-replace undo · 32dc0cb1
    Tino Calancha authored
    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.
    32dc0cb1
replace-tests.el 7.51 KB