Variable: isearch-lax-whitespace
isearch-lax-whitespace is a customizable variable defined in
isearch.el.gz.
Value
t
Documentation
If non-nil, a space will match a sequence of whitespace chars.
When you enter a space or spaces in ordinary incremental search, it
will match any sequence matched by the regexp defined by the variable
search-whitespace-regexp. If the value is nil, each space you type
matches literally, against one space. You can toggle the value of this
variable by the command isearch-toggle-lax-whitespace, usually bound to
M-s SPC during isearch.
This variable was added, or its default value changed, in Emacs 25.1.
Probably introduced at or before Emacs version 25.1.
Source Code
;; Defined in /usr/src/emacs/lisp/isearch.el.gz
(defcustom isearch-lax-whitespace t
"If non-nil, a space will match a sequence of whitespace chars.
When you enter a space or spaces in ordinary incremental search, it
will match any sequence matched by the regexp defined by the variable
`search-whitespace-regexp'. If the value is nil, each space you type
matches literally, against one space. You can toggle the value of this
variable by the command `isearch-toggle-lax-whitespace', usually bound to
`M-s SPC' during isearch."
:type 'boolean
:group 'isearch
:version "25.1")