Commit 5f3a57c9 authored by Richard M. Stallman's avatar Richard M. Stallman

(isearch-lazy-highlight-new-loop): Don't invoke

highlighting if the search string is empty.
parent 240c0c90
2004-09-04 Richard M. Stallman <rms@gnu.org>
* isearch.el (isearch-lazy-highlight-new-loop): Don't invoke
highlighting if the search string is empty.
2004-09-04 Luc Teirlinck <teirllm@auburn.edu>
* facemenu.el (facemenu-active-faces): Change condition of inner
......
......@@ -2362,9 +2362,10 @@ search string to change or the window to scroll)."
isearch-lazy-highlight-case-fold-search isearch-case-fold-search
isearch-lazy-highlight-regexp isearch-regexp
isearch-lazy-highlight-wrapped nil)
(unless (equal isearch-string "")
(setq isearch-lazy-highlight-timer
(run-with-idle-timer isearch-lazy-highlight-initial-delay nil
'isearch-lazy-highlight-update)))))
'isearch-lazy-highlight-update))))))
(defun isearch-lazy-highlight-search ()
"Search ahead for the next or previous match, for lazy highlighting.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment