Function: isearch-mouse-leave-buffer

isearch-mouse-leave-buffer is a byte-compiled function defined in isearch.el.gz.

Signature

(isearch-mouse-leave-buffer)

Documentation

Exit Isearch unless the mouse command is allowed in Isearch.

Mouse commands are allowed in Isearch if they have a non-nil isearch-scroll property or if they are listed in isearch-mouse-commands.

Source Code

;; Defined in /usr/src/emacs/lisp/isearch.el.gz
(defun isearch-mouse-leave-buffer ()
  "Exit Isearch unless the mouse command is allowed in Isearch.

Mouse commands are allowed in Isearch if they have a non-nil
`isearch-scroll' property or if they are listed in
`isearch-mouse-commands'."
  (unless (or (memq this-command isearch-mouse-commands)
              (eq (get this-command 'isearch-scroll) t))
    (isearch-done)))