diff options
author | Augusto Stoffel <arstoffel@gmail.com> | 2022-04-09 12:47:28 +0200 |
---|---|---|
committer | Juri Linkov <juri@linkov.net> | 2022-04-10 22:37:04 +0300 |
commit | 48cb9c4aaadfe7bd50c13f658a6e8e9e97587867 (patch) | |
tree | aff6bbd8da659e33dbbbfb7608151af5d6476cb6 /lisp/emacs-lisp/lisp.el | |
parent | 4c0c9d23abc28c7fa7eacf2f4d7a5aff02d84ab0 (diff) | |
download | emacs-48cb9c4aaadfe7bd50c13f658a6e8e9e97587867.tar.gz emacs-48cb9c4aaadfe7bd50c13f658a6e8e9e97587867.tar.bz2 emacs-48cb9c4aaadfe7bd50c13f658a6e8e9e97587867.zip |
Add lazy highlight when reading 'query-replace' arguments
* lisp/replace.el (query-replace-read-args): Use
'minibuffer-lazy-highlight-setup' to highlight the text to be replaced
in the original buffer (and a match count, if applicable).
(replace--region-filter): New function for code that
used to be inlined in perform-replace but is useful elsewhere.
(perform-replace): Use 'replace--region-filter'.
Diffstat (limited to 'lisp/emacs-lisp/lisp.el')
0 files changed, 0 insertions, 0 deletions