diff options
author | Eli Zaretskii <eliz@gnu.org> | 2019-02-22 10:12:14 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2019-02-22 10:12:14 +0200 |
commit | 3707ea434f1801f911e51896b987be61b4e4c7c2 (patch) | |
tree | cf42d8f2159e8aa94a94deb405d2f633a9447364 /lisp/emacs-lisp/regexp-opt.el | |
parent | d9905d5c6f22ccefe03ee3ae1267a9fdf28fc61a (diff) | |
download | emacs-3707ea434f1801f911e51896b987be61b4e4c7c2.tar.gz emacs-3707ea434f1801f911e51896b987be61b4e4c7c2.tar.bz2 emacs-3707ea434f1801f911e51896b987be61b4e4c7c2.zip |
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)
Diffstat (limited to 'lisp/emacs-lisp/regexp-opt.el')
-rw-r--r-- | lisp/emacs-lisp/regexp-opt.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/regexp-opt.el b/lisp/emacs-lisp/regexp-opt.el index 152dca2309d..63786c1508c 100644 --- a/lisp/emacs-lisp/regexp-opt.el +++ b/lisp/emacs-lisp/regexp-opt.el @@ -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) |