diff options
| author | Eli Zaretskii | 2019-02-22 10:12:14 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2019-02-22 10:12:14 +0200 |
| commit | 3707ea434f1801f911e51896b987be61b4e4c7c2 (patch) | |
| tree | cf42d8f2159e8aa94a94deb405d2f633a9447364 | |
| parent | d9905d5c6f22ccefe03ee3ae1267a9fdf28fc61a (diff) | |
| download | emacs-3707ea434f1801f911e51896b987be61b4e4c7c2.tar.gz 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)
| -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: | |||
| 121 | ((eq paren \\='symbols) \\='(\"\\\\_<\\\\(\" . \"\\\\)\\\\_>\")) | 121 | ((eq paren \\='symbols) \\='(\"\\\\_<\\\\(\" . \"\\\\)\\\\_>\")) |
| 122 | ((null paren) \\='(\"\\\\(?:\" . \"\\\\)\")) | 122 | ((null paren) \\='(\"\\\\(?:\" . \"\\\\)\")) |
| 123 | (t \\='(\"\\\\(\" . \"\\\\)\"))))) | 123 | (t \\='(\"\\\\(\" . \"\\\\)\"))))) |
| 124 | (concat (car paren) | 124 | (concat (car parens) |
| 125 | (mapconcat \\='regexp-quote strings \"\\\\|\") | 125 | (mapconcat \\='regexp-quote strings \"\\\\|\") |
| 126 | (cdr paren))))" | 126 | (cdr parens))))" |
| 127 | (save-match-data | 127 | (save-match-data |
| 128 | ;; Recurse on the sorted list. | 128 | ;; Recurse on the sorted list. |
| 129 | (let* ((max-lisp-eval-depth 10000) | 129 | (let* ((max-lisp-eval-depth 10000) |