diff options
author | Augusto Stoffel <arstoffel@gmail.com> | 2022-04-09 12:38:14 +0200 |
---|---|---|
committer | Juri Linkov <juri@linkov.net> | 2022-04-10 22:36:47 +0300 |
commit | 4c0c9d23abc28c7fa7eacf2f4d7a5aff02d84ab0 (patch) | |
tree | 5d33ebc7a7d409c31e2159865327b780e96953a8 /lisp/emacs-lisp/lisp.el | |
parent | 7c6cdc1effe247a727a53eb3855894c0f00ef2ca (diff) | |
download | emacs-4c0c9d23abc28c7fa7eacf2f4d7a5aff02d84ab0.tar.gz emacs-4c0c9d23abc28c7fa7eacf2f4d7a5aff02d84ab0.tar.bz2 emacs-4c0c9d23abc28c7fa7eacf2f4d7a5aff02d84ab0.zip |
Rewrite the minibuffer lazy highlight feature
The new API was discussed in bug#53126. It's more robust and easier
to use in complex cases like that of 'query-replace'.
* etc/NEWS: Amend the feature announcement
* lisp/isearch.el (isearch-edit-string): Use new API.
(minibuffer-lazy-highlight-transform,
minibuffer-lazy-highlight--overlay, minibuffer-lazy-highlight--count,
minibuffer-lazy-highlight--after-change,
minibuffer-lazy-highlight--exit) Remove helper functions, which are
now kept together with the lazy highlight configuration variables
within a closure.
(minibuffer-lazy-highlight-setup): This function now takes the lazy
highlighting configuration variables as argument, and returns a
closure that is intended to run as part of the minibuffer setup.
Diffstat (limited to 'lisp/emacs-lisp/lisp.el')
0 files changed, 0 insertions, 0 deletions