Variable: isearch-allow-scroll

isearch-allow-scroll is a customizable variable defined in isearch.el.gz.

Value

nil

Documentation

Whether scrolling is allowed during incremental search.

If non-nil, scrolling commands can be used in Isearch mode. However, you cannot scroll far enough that the current match is no longer visible (is off screen). But if the value is unlimited that limitation is removed and you can scroll any distance off screen. If nil, scrolling commands exit Isearch mode. See also the related option isearch-allow-motion.

View in manual

Probably introduced at or before Emacs version 22.1.

Source Code

;; Defined in /usr/src/emacs/lisp/isearch.el.gz
(defcustom isearch-allow-scroll nil
  "Whether scrolling is allowed during incremental search.
If non-nil, scrolling commands can be used in Isearch mode.
However, you cannot scroll far enough that the current match is
no longer visible (is off screen).  But if the value is `unlimited'
that limitation is removed and you can scroll any distance off screen.
If nil, scrolling commands exit Isearch mode.
See also the related option `isearch-allow-motion'."
  :type '(choice (const :tag "Scrolling exits Isearch" nil)
                 (const :tag "Scrolling with current match on screen" t)
                 (const :tag "Scrolling with current match off screen" unlimited))
  :group 'isearch)