mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08:00
Fix font-locking of (defun foo (function ...))
* lisp/emacs-lisp/lisp-mode.el (lisp--el-funcall-position-p): Don't colorize the `function' in (defun foo (function ...)) as a special form (bug#37074).
This commit is contained in:
parent
871f0f0a5d
commit
de9dfb1939
1 changed files with 3 additions and 0 deletions
|
|
@ -244,6 +244,9 @@
|
|||
('let
|
||||
(forward-sexp 1)
|
||||
(>= pos (point)))
|
||||
((or 'defun 'defmacro 'cl-defmethod 'cl-defun)
|
||||
(forward-sexp 2)
|
||||
(>= pos (point)))
|
||||
('condition-case
|
||||
;; If (cdr paren-posns), then we're in the BODY
|
||||
;; of HANDLERS.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue