[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-26 3707ea4: Fix a typo in the doc string of 'regex-o
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] emacs-26 3707ea4: Fix a typo in the doc string of 'regex-opt' |
Date: |
Fri, 22 Feb 2019 03:12:56 -0500 (EST) |
branch: emacs-26
commit 3707ea434f1801f911e51896b987be61b4e4c7c2
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>
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)
---
lisp/emacs-lisp/regexp-opt.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisp/emacs-lisp/regexp-opt.el b/lisp/emacs-lisp/regexp-opt.el
index 152dca2..63786c1 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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-26 3707ea4: Fix a typo in the doc string of 'regex-opt',
Eli Zaretskii <=