Fix a typo in the doc string of 'regex-opt'

* lisp/emacs-lisp/regexp-opt.el (regexp-opt): Fix example in
the doc string.  (Bug#34596)
This commit is contained in:
Eli Zaretskii 2019-02-22 10:12:14 +02:00
parent d9905d5c6f
commit 3707ea434f

View file

@ -121,9 +121,9 @@ 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))))"
(save-match-data
;; Recurse on the sorted list.
(let* ((max-lisp-eval-depth 10000)