summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/regexp-opt.el
diff options
context:
space:
mode:
authorK. Handa <handa@gnu.org>2015-09-08 20:43:11 +0900
committerK. Handa <handa@gnu.org>2015-09-08 20:43:11 +0900
commit94ed5167557112fb00eeca05e62589db744206de (patch)
tree80a544f8534802dd61fbd218b97441d3419dbf6b /lisp/emacs-lisp/regexp-opt.el
parent33f2e0023a5ef03db3e99ade0b93a7a1a913dbe1 (diff)
parent10e7f7de910ca816799062f33b830f7598801f0e (diff)
downloademacs-94ed5167557112fb00eeca05e62589db744206de.tar.gz
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
Diffstat (limited to 'lisp/emacs-lisp/regexp-opt.el')
-rw-r--r--lisp/emacs-lisp/regexp-opt.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/regexp-opt.el b/lisp/emacs-lisp/regexp-opt.el
index b0fb23dbcc9..9888e920219 100644
--- a/lisp/emacs-lisp/regexp-opt.el
+++ b/lisp/emacs-lisp/regexp-opt.el
@@ -92,7 +92,7 @@ is enclosed by at least one regexp grouping construct.
The returned regexp is typically more efficient than the equivalent regexp:
(let ((open (if PAREN \"\\\\(\" \"\")) (close (if PAREN \"\\\\)\" \"\")))
- (concat open (mapconcat 'regexp-quote STRINGS \"\\\\|\") close))
+ (concat open (mapconcat \\='regexp-quote STRINGS \"\\\\|\") close))
If PAREN is `words', then the resulting regexp is additionally surrounded
by \\=\\< and \\>.