summaryrefslogtreecommitdiff
path: root/lisp/isearch.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2021-09-02 09:57:30 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2021-09-02 09:57:30 +0200
commitb099942113445bb42f397f85429f6a7579a7a98b (patch)
treee96cc04f1aac46d6952f9100a7d90d33dde1542b /lisp/isearch.el
parent0f3e34ec374414d437c8a5ebd406637c0f3b755f (diff)
downloademacs-b099942113445bb42f397f85429f6a7579a7a98b.tar.gz
emacs-b099942113445bb42f397f85429f6a7579a7a98b.tar.bz2
emacs-b099942113445bb42f397f85429f6a7579a7a98b.zip
isearch*-lax-whitespace doc string improvements
* lisp/isearch.el (isearch-regexp-lax-whitespace): * lisp/isearch.el (isearch-lax-whitespace): Mention the key binding in the doc string (bug#31790).
Diffstat (limited to 'lisp/isearch.el')
-rw-r--r--lisp/isearch.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/isearch.el b/lisp/isearch.el
index 922ab0f6ad4..1c776a06e13 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -869,7 +869,8 @@ 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'.")
+variable by the command `isearch-toggle-lax-whitespace', usually bound to
+`M-s SPC' during isearch.")
(defvar isearch-regexp-lax-whitespace nil
"If non-nil, a space will match a sequence of whitespace chars.
@@ -877,7 +878,8 @@ When you enter a space or spaces in regexp 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'.")
+variable by the command `isearch-toggle-lax-whitespace', usually bound to
+`M-s SPC' during isearch.")
(defvar isearch-cmds nil
"Stack of search status elements.