aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorEli Zaretskii2019-03-07 16:19:00 +0200
committerEli Zaretskii2019-03-07 16:19:00 +0200
commit953cbce77be9a8da1cbf0ca5ee6442923478e186 (patch)
tree578ee0cc4c4314df07913d5b790ab89ab50a123b /doc
parenta0b2a5ad9ec8186b679ee80e1c5b9786672344a0 (diff)
parent3fd2100bff58008b1eaf48922539d914c6ce6c16 (diff)
downloademacs-953cbce77be9a8da1cbf0ca5ee6442923478e186.tar.gz
emacs-953cbce77be9a8da1cbf0ca5ee6442923478e186.zip
Merge branch 'master' of git.savannah.gnu.org:/srv/git/emacs
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