Variable: replace-lax-whitespace

replace-lax-whitespace is a customizable variable defined in replace.el.gz.

Value

nil

Documentation

Non-nil means query-replace matches a sequence of whitespace chars.

When you enter a space or spaces in the strings to be replaced, it will match any sequence matched by the regexp search-whitespace-regexp.

This variable was added, or its default value changed, in Emacs 24.3.

View in manual

Probably introduced at or before Emacs version 24.3.

Source Code

;; Defined in /usr/src/emacs/lisp/replace.el.gz
(defcustom replace-lax-whitespace nil
  "Non-nil means `query-replace' matches a sequence of whitespace chars.
When you enter a space or spaces in the strings to be replaced,
it will match any sequence matched by the regexp `search-whitespace-regexp'."
  :type 'boolean
  :group 'matching
  :version "24.3")