summaryrefslogtreecommitdiff
path: root/doc/lispref/searching.texi
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2019-03-31 15:53:52 +0200
committerMattias EngdegÄrd <mattiase@acm.org>2019-03-31 15:53:52 +0200
commit6d7e18e8015024ef06570e80086f58e834d6d4b6 (patch)
tree2002ea653cf41e3813c6f952c84ac029afa934bc /doc/lispref/searching.texi
parentb619777dd67e271d639c6fb1d031650af8fd79e6 (diff)
downloademacs-6d7e18e8015024ef06570e80086f58e834d6d4b6.tar.gz
Fix typo in regexp-opt example code
* doc/lispref/searching.texi (Regexp Functions): Fix typo in example code (Bug#34596).
Diffstat (limited to 'doc/lispref/searching.texi')
-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 0f312915f9e..e3f31fdf836 100644
--- a/doc/lispref/searching.texi
+++ b/doc/lispref/searching.texi
@@ -1007,9 +1007,9 @@ version:
((eq paren 'symbols) '("\\_<\\(" . "\\)\\_>"))
((null paren) '("\\(?:" . "\\)"))
(t '("\\(" . "\\)")))))
- (concat (car paren)
+ (concat (car parens)
(mapconcat 'regexp-quote strings "\\|")
- (cdr paren))))
+ (cdr parens))))
@end example
@end defun