From: Mattias EngdegÄrd Date: Sun, 31 Mar 2019 13:53:52 +0000 (+0200) Subject: Fix typo in regexp-opt example code X-Git-Tag: emacs-27.0.90~3294 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6d7e18e8015024ef06570e80086f58e834d6d4b6;p=emacs.git Fix typo in regexp-opt example code * doc/lispref/searching.texi (Regexp Functions): Fix typo in example code (Bug#34596). --- diff --git a/doc/lispref/searching.texi b/doc/lispref/searching.texi index 0f312915f9e..e3f31fdf836 100644 --- a/doc/lispref/searching.texi +++ b/doc/lispref/searching.texi @@ -1007,9 +1007,9 @@ 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