Function: isearch-lazy-highlight-match

isearch-lazy-highlight-match is a byte-compiled function defined in isearch.el.gz.

Signature

(isearch-lazy-highlight-match MB ME)

Source Code

;; Defined in /usr/src/emacs/lisp/isearch.el.gz
(defun isearch-lazy-highlight-match (mb me)
  (when (or (not isearch-lazy-count)
            ;; Recheck the match that possibly was intended
            ;; for counting only, but not for highlighting
            (let ((search-invisible 'can-be-opened))
              (funcall isearch-filter-predicate mb me)))
    (let ((ov (make-overlay mb me)))
      (push ov isearch-lazy-highlight-overlays)
      ;; 1000 is higher than ediff's 100+,
      ;; but lower than isearch main overlay's 1001
      (overlay-put ov 'priority 1000)
      (overlay-put ov 'face 'lazy-highlight)
      (unless (or (eq isearch-lazy-highlight 'all-windows)
                  isearch-lazy-highlight-buffer)
        (overlay-put ov 'window (selected-window))))))