aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/searching.texi6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/lispref/searching.texi b/doc/lispref/searching.texi
index b4b4c23b1ed..6cc7d451a6e 100644
--- a/doc/lispref/searching.texi
+++ b/doc/lispref/searching.texi
@@ -918,7 +918,11 @@ for Font Lock mode.
918If the optional argument @var{paren} is non-@code{nil}, then the 918If the optional argument @var{paren} is non-@code{nil}, then the
919returned regular expression is always enclosed by at least one 919returned regular expression is always enclosed by at least one
920parentheses-grouping construct. If @var{paren} is @code{words}, then 920parentheses-grouping construct. If @var{paren} is @code{words}, then
921that construct is additionally surrounded by @samp{\<} and @samp{\>}. 921that construct is additionally surrounded by @samp{\<} and @samp{\>};
922alternatively, if @var{paren} is @code{symbols}, then that construct
923is additionally surrounded by @samp{\_<} and @samp{\_>}
924(@code{symbols} is often appropriate when matching
925programming-language keywords and the like).
922 926
923This simplified definition of @code{regexp-opt} produces a 927This simplified definition of @code{regexp-opt} produces a
924regular expression which is equivalent to the actual value 928regular expression which is equivalent to the actual value