Variable: isearch-allow-motion
isearch-allow-motion is a customizable variable defined in
isearch.el.gz.
Value
nil
Documentation
Whether to allow movement between isearch matches by cursor motion commands.
If non-nil, the four motion commands M-< (beginning-of-buffer), M-> (end-of-buffer), C-v (scroll-up-command) and M-v (scroll-down-command), when invoked
during Isearch, move respectively to the first occurrence of the current
search string in the buffer, the last one, the first one after the current
window, and the last one before the current window.
If nil, these motion commands normally exit Isearch and are executed.
See also the related options isearch-motion-changes-direction and
isearch-allow-scroll.
This variable was added, or its default value changed, in Emacs 28.1.
Probably introduced at or before Emacs version 28.1.
Source Code
;; Defined in /usr/src/emacs/lisp/isearch.el.gz
(defcustom isearch-allow-motion nil
"Whether to allow movement between isearch matches by cursor motion commands.
If non-nil, the four motion commands \\<isearch-mode-map>\\[beginning-of-buffer], \\[end-of-buffer], \
\\[scroll-up-command] and \\[scroll-down-command], when invoked
during Isearch, move respectively to the first occurrence of the current
search string in the buffer, the last one, the first one after the current
window, and the last one before the current window.
If nil, these motion commands normally exit Isearch and are executed.
See also the related options `isearch-motion-changes-direction' and
`isearch-allow-scroll'."
:type '(choice (const :tag "Off" nil)
(const :tag "On" t))
:group 'isearch
:version "28.1")