summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel McClanahan <danieldmcclanahan@gmail.com>2015-09-16 09:02:35 +0200
committerMartin Rudalics <rudalics@gmx.at>2015-09-16 09:02:35 +0200
commit55a9b2e620f4236bb491b6e1bf54c382510adb87 (patch)
treed7ad7ad8e819e1c8b9e340006635ec6510b3b724
parent8db08dfe48991f3e9beda6412ebeb8d576bb3cf8 (diff)
downloademacs-55a9b2e620f4236bb491b6e1bf54c382510adb87.tar.gz
Fix search argument in ‘lisp--el-match-keyword’ (Bug#21492) (Bug#21493)
* lisp/emacs-lisp/lisp-mode.el (lisp--el-match-keyword): Fix search argument. (Bug#21492) (Bug#21493) Copyright-paperwork-exempt: yes
-rw-r--r--lisp/emacs-lisp/lisp-mode.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el
index 56c2966656c..fed91b34a88 100644
--- a/lisp/emacs-lisp/lisp-mode.el
+++ b/lisp/emacs-lisp/lisp-mode.el
@@ -224,7 +224,8 @@
;; FIXME: Move to elisp-mode.el.
(catch 'found
(while (re-search-forward
- (eval-when-compile "(\\(" lisp-mode-symbol-regexp "\\)\\_>")
+ (eval-when-compile
+ (concat "(\\(" lisp-mode-symbol-regexp "\\)\\_>"))
limit t)
(let ((sym (intern-soft (match-string 1))))
(when (or (special-form-p sym)