Fix keyword highlighting in Emacs 28+

Because they now satisfy special-variable-p.
This commit is contained in:
Henrik Lissner 2020-10-21 22:05:44 -04:00
parent 1811cae05c
commit d1effe2ddd
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -274,6 +274,7 @@ library/userland functions"
((let ((symbol (intern-soft (match-string-no-properties 0))))
(and (cond ((null symbol) nil)
((eq symbol t) nil)
((keywordp symbol) nil)
((special-variable-p symbol)
(setq +emacs-lisp--face 'font-lock-variable-name-face))
((and (fboundp symbol)