aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/searching.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/lispref/searching.texi b/doc/lispref/searching.texi
index 38e62040550..740be2a31ff 100644
--- a/doc/lispref/searching.texi
+++ b/doc/lispref/searching.texi
@@ -950,7 +950,7 @@ whitespace:
950@end defun 950@end defun
951 951
952@cindex optimize regexp 952@cindex optimize regexp
953@defun regexp-opt strings &optional paren noreorder 953@defun regexp-opt strings &optional paren keep-order
954This function returns an efficient regular expression that will match 954This function returns an efficient regular expression that will match
955any of the strings in the list @var{strings}. This is useful when you 955any of the strings in the list @var{strings}. This is useful when you
956need to make matching or searching as fast as possible---for example, 956need to make matching or searching as fast as possible---for example,
@@ -988,7 +988,7 @@ if it is necessary to ensure that a postfix operator appended to
988it will apply to the whole expression. 988it will apply to the whole expression.
989@end table 989@end table
990 990
991The optional argument @var{noreorder}, if @code{nil} or omitted, 991The optional argument @var{keep-order}, if @code{nil} or omitted,
992allows the returned regexp to match the strings in any order. If 992allows the returned regexp to match the strings in any order. If
993non-@code{nil}, the match is guaranteed to be performed in the order 993non-@code{nil}, the match is guaranteed to be performed in the order
994given, as if the strings were made into a regexp by joining them with 994given, as if the strings were made into a regexp by joining them with