Function: isearchb-stop
isearchb-stop is a byte-compiled function defined in isearchb.el.gz.
Signature
(isearchb-stop &optional RETURN-TO-BUFFER IGNORE-COMMAND)
Documentation
Called by isearchb to terminate a search in progress.
Source Code
;; Defined in /usr/src/emacs/lisp/isearchb.el.gz
(defun isearchb-stop (&optional return-to-buffer ignore-command)
"Called by isearchb to terminate a search in progress."
(remove-hook 'pre-command-hook 'isearchb-follow-char)
(if return-to-buffer
(switch-to-buffer isearchb-start-buffer)
(setq isearchb-last-buffer isearchb-start-buffer))
(when isearchb-idle-timer
(cancel-timer isearchb-idle-timer)
(setq isearchb-idle-timer nil))
(if ignore-command
(setq this-command 'ignore
last-command 'ignore))
(message nil))