diff options
author | Augusto Stoffel <arstoffel@gmail.com> | 2021-01-27 16:09:38 +0100 |
---|---|---|
committer | Juri Linkov <juri@linkov.net> | 2021-01-30 20:48:28 +0200 |
commit | ece7425c22633196ae164cb6aa0e6d77fabe9f81 (patch) | |
tree | fff63f0d5b3c0a8d17041c88b8ee24de455c8ad9 /lisp/textmodes/mhtml-mode.el | |
parent | 3555657585bb2c1809fa6abff7f565a8c7f226eb (diff) | |
download | emacs-ece7425c22633196ae164cb6aa0e6d77fabe9f81.tar.gz emacs-ece7425c22633196ae164cb6aa0e6d77fabe9f81.tar.bz2 emacs-ece7425c22633196ae164cb6aa0e6d77fabe9f81.zip |
Reduce flicker in Isearch mode
Lazy highlighting now happens immediately when the search string is at
least as long as the value of the new custom variable
`lazy-highlight-no-delay-length`. Also avoid updating the lazy
count in the echo area too often.
* isearch.el (lazy-highlight-no-delay-length): New defcustom.
* isearch.el (lazy-lazy-count-format): Avoid a momentarily incorrect
count when reversing search direction.
* isearch.el (isearch-lazy-highlight-new-loop): Avoid a call to
`isearch-message` that is quickly succeed by a second echo area
update, thus causing flicker.
* isearch.el (isearch-lazy-highlight-new-loop):
Start lazy highlight immediately if appropriate.
* etc/NEWS: Announce the change.
* doc/emacs/search.texi: Document `lazy-highlight-no-delay-length'.
Copyright-paperwork-exempt: yes
Diffstat (limited to 'lisp/textmodes/mhtml-mode.el')
0 files changed, 0 insertions, 0 deletions