1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-23 22:20:24 -08:00

Backport: Fix typo in regexp-opt example code

* doc/lispref/searching.texi (Regexp Functions):
Fix typo in example code (Bug#34596).
This commit is contained in:
Mattias Engdegård 2019-03-31 15:53:52 +02:00 committed by Juanma Barranquero
parent 2b765c650a
commit bea31a3794

View file

@ -1013,9 +1013,9 @@ more efficient than that of a simplified 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