mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-05 12:37:33 -05:00
Fix keyword highlighting in Emacs 28+
Because they now satisfy special-variable-p.
This commit is contained in:
@ -274,6 +274,7 @@ library/userland functions"
|
|||||||
((let ((symbol (intern-soft (match-string-no-properties 0))))
|
((let ((symbol (intern-soft (match-string-no-properties 0))))
|
||||||
(and (cond ((null symbol) nil)
|
(and (cond ((null symbol) nil)
|
||||||
((eq symbol t) nil)
|
((eq symbol t) nil)
|
||||||
|
((keywordp symbol) nil)
|
||||||
((special-variable-p symbol)
|
((special-variable-p symbol)
|
||||||
(setq +emacs-lisp--face 'font-lock-variable-name-face))
|
(setq +emacs-lisp--face 'font-lock-variable-name-face))
|
||||||
((and (fboundp symbol)
|
((and (fboundp symbol)
|
||||||
|
Reference in New Issue
Block a user