summaryrefslogtreecommitdiff
path: root/lisp/isearch.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2015-12-01 21:29:14 +0200
committerEli Zaretskii <eliz@gnu.org>2015-12-01 21:29:14 +0200
commitcef6c89175cd93be94a412ceb1b1e38381d209b8 (patch)
treedc092d590c28a40589afda9517f930b7d8c129e7 /lisp/isearch.el
parentbdebeb77a001fc4d9ee8392829cd7bc6cd11d7d1 (diff)
downloademacs-cef6c89175cd93be94a412ceb1b1e38381d209b8.tar.gz
More accurate documentation of lax whitespace matching
* lisp/isearch.el (isearch-forward-word, isearch-forward-symbol) (word-search-backward, word-search-forward) (word-search-backward-lax, word-search-forward-lax): Mention in doc strings that toggling lax whitespace matching has no effect on these commands. * doc/emacs/search.texi (Word Search, Symbol Search): Clarify that lax whitespace matching has no effect on these commands.
Diffstat (limited to 'lisp/isearch.el')
-rw-r--r--lisp/isearch.el18
1 files changed, 12 insertions, 6 deletions
diff --git a/lisp/isearch.el b/lisp/isearch.el
index 229121d55b1..8c98d36f4aa 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -785,7 +785,8 @@ With a prefix argument, do a regular string search instead.
Like ordinary incremental search except that your input is treated
as a sequence of words without regard to how the words are separated.
See the command `isearch-forward' for more information.
-This command does not support character folding or lax space matching."
+This command does not support character folding, and lax space matching
+has no effect on it."
(interactive "P\np")
(isearch-mode t nil nil (not no-recursive-edit) (null not-word)))
@@ -795,7 +796,8 @@ The prefix argument is currently unused.
Like ordinary incremental search except that your input is treated
as a symbol surrounded by symbol boundary constructs \\_< and \\_>.
See the command `isearch-forward' for more information.
-This command does not support character folding or lax space matching."
+This command does not support character folding, and lax space matching
+has no effect on it."
(interactive "P\np")
(isearch-mode t nil nil (not no-recursive-edit) 'isearch-symbol-regexp))
@@ -1625,7 +1627,8 @@ Optional fourth argument is repeat count--search for successive occurrences.
Relies on the function `word-search-regexp' to convert a sequence
of words in STRING to a regexp used to search words without regard
to punctuation.
-This command does not support character folding or lax space matching."
+This command does not support character folding, and lax space matching
+has no effect on it."
(interactive "sWord search backward: ")
(re-search-backward (word-search-regexp string nil) bound noerror count))
@@ -1641,7 +1644,8 @@ Optional fourth argument is repeat count--search for successive occurrences.
Relies on the function `word-search-regexp' to convert a sequence
of words in STRING to a regexp used to search words without regard
to punctuation.
-This command does not support character folding or lax space matching."
+This command does not support character folding, and lax space matching
+has no effect on it."
(interactive "sWord search: ")
(re-search-forward (word-search-regexp string nil) bound noerror count))
@@ -1661,7 +1665,8 @@ Optional fourth argument is repeat count--search for successive occurrences.
Relies on the function `word-search-regexp' to convert a sequence
of words in STRING to a regexp used to search words without regard
to punctuation.
-This command does not support character folding or lax space matching."
+This command does not support character folding, and lax space matching
+has no effect on it."
(interactive "sWord search backward: ")
(re-search-backward (word-search-regexp string t) bound noerror count))
@@ -1681,7 +1686,8 @@ Optional fourth argument is repeat count--search for successive occurrences.
Relies on the function `word-search-regexp' to convert a sequence
of words in STRING to a regexp used to search words without regard
to punctuation.
-This command does not support character folding or lax space matching."
+This command does not support character folding, and lax space matching
+has no effect on it."
(interactive "sWord search: ")
(re-search-forward (word-search-regexp string t) bound noerror count))