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
This commit is contained in:
Daniel McClanahan 2015-09-16 09:02:35 +02:00 committed by Martin Rudalics
parent 8db08dfe48
commit 55a9b2e620

View file

@ -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)