Function: multi-isearch-wrap
multi-isearch-wrap is a byte-compiled function defined in
misearch.el.gz.
Signature
(multi-isearch-wrap)
Documentation
Wrap the multiple buffers search when search is failed.
Switch buffer to the first buffer for a forward search,
or to the last buffer for a backward search.
Set multi-isearch-current-buffer to the current buffer to display
the isearch suffix message [initial buffer] only when isearch leaves
the initial buffer.
Source Code
;; Defined in /usr/src/emacs/lisp/misearch.el.gz
(defun multi-isearch-wrap ()
"Wrap the multiple buffers search when search is failed.
Switch buffer to the first buffer for a forward search,
or to the last buffer for a backward search.
Set `multi-isearch-current-buffer' to the current buffer to display
the isearch suffix message [initial buffer] only when isearch leaves
the initial buffer."
(if (or (null multi-isearch-pause)
(and multi-isearch-pause multi-isearch-current-buffer))
(progn
(setq multi-isearch-current-buffer
(funcall multi-isearch-next-buffer-current-function
(current-buffer) t))
(multi-isearch-switch-buffer)
(goto-char (if isearch-forward (point-min) (point-max))))
(setq multi-isearch-current-buffer (current-buffer))
(setq isearch-wrapped nil)))