aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/searching.texi3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/lispref/searching.texi b/doc/lispref/searching.texi
index 1286b63446a..65f56b490fd 100644
--- a/doc/lispref/searching.texi
+++ b/doc/lispref/searching.texi
@@ -1562,6 +1562,9 @@ whitespace:
1562 (concat "\\s-" (regexp-quote string) "\\s-")) 1562 (concat "\\s-" (regexp-quote string) "\\s-"))
1563@end group 1563@end group
1564@end example 1564@end example
1565
1566The returned string may be @var{string} itself if it does not contain
1567any special characters.
1565@end defun 1568@end defun
1566 1569
1567@cindex optimize regexp 1570@cindex optimize regexp