aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel McClanahan2015-09-16 09:02:35 +0200
committerMartin Rudalics2015-09-16 09:02:35 +0200
commit55a9b2e620f4236bb491b6e1bf54c382510adb87 (patch)
treed7ad7ad8e819e1c8b9e340006635ec6510b3b724
parent8db08dfe48991f3e9beda6412ebeb8d576bb3cf8 (diff)
downloademacs-55a9b2e620f4236bb491b6e1bf54c382510adb87.tar.gz
emacs-55a9b2e620f4236bb491b6e1bf54c382510adb87.zip
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 @@
224 ;; FIXME: Move to elisp-mode.el. 224 ;; FIXME: Move to elisp-mode.el.
225 (catch 'found 225 (catch 'found
226 (while (re-search-forward 226 (while (re-search-forward
227 (eval-when-compile "(\\(" lisp-mode-symbol-regexp "\\)\\_>") 227 (eval-when-compile
228 (concat "(\\(" lisp-mode-symbol-regexp "\\)\\_>"))
228 limit t) 229 limit t)
229 (let ((sym (intern-soft (match-string 1)))) 230 (let ((sym (intern-soft (match-string 1))))
230 (when (or (special-form-p sym) 231 (when (or (special-form-p sym)