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:
parent
2b765c650a
commit
bea31a3794
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue