summaryrefslogtreecommitdiff
path: root/lisp/widget.el
diff options
context:
space:
mode:
authorAugusto Stoffel <arstoffel@gmail.com>2021-01-27 16:09:38 +0100
committerJuri Linkov <juri@linkov.net>2021-01-30 20:48:28 +0200
commitece7425c22633196ae164cb6aa0e6d77fabe9f81 (patch)
treefff63f0d5b3c0a8d17041c88b8ee24de455c8ad9 /lisp/widget.el
parent3555657585bb2c1809fa6abff7f565a8c7f226eb (diff)
downloademacs-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/widget.el')
0 files changed, 0 insertions, 0 deletions