Function: isearch-toggle-lax-whitespace

isearch-toggle-lax-whitespace is an interactive and byte-compiled function defined in isearch.el.gz.

Signature

(isearch-toggle-lax-whitespace)

Documentation

Toggle lax-whitespace searching on or off.

In ordinary search, toggles the value of the variable isearch-lax-whitespace. In regexp search, toggles the value of the variable isearch-regexp-lax-whitespace.

View in manual

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/isearch.el.gz
(isearch-define-mode-toggle lax-whitespace " " nil
  "In ordinary search, toggles the value of the variable
`isearch-lax-whitespace'.  In regexp search, toggles the
value of the variable `isearch-regexp-lax-whitespace'."
  (isearch--momentary-message
   (if (if isearch-regexp
           (setq isearch-regexp-lax-whitespace (not isearch-regexp-lax-whitespace))
         (setq isearch-lax-whitespace (not isearch-lax-whitespace)))
       "match spaces loosely"
     "match spaces literally")))