+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
isearch-lazy-highlight-case-fold-search isearch-case-fold-search
isearch-lazy-highlight-regexp isearch-regexp
isearch-lazy-highlight-wrapped nil)
- (setq isearch-lazy-highlight-timer
- (run-with-idle-timer isearch-lazy-highlight-initial-delay nil
- 'isearch-lazy-highlight-update)))))
+ (unless (equal isearch-string "")
+ (setq isearch-lazy-highlight-timer
+ (run-with-idle-timer isearch-lazy-highlight-initial-delay nil
+ 'isearch-lazy-highlight-update))))))
(defun isearch-lazy-highlight-search ()
"Search ahead for the next or previous match, for lazy highlighting.