fix: remove use-package-font-lock-keywords reference

This was removed upstream, and while we haven't bumped use-package for
this to affect us, I may as well remove it early.

Doom will be dropping use-package from core in 3.0, in any case.

Fix: #6699
Ref: 8a3d29e433
This commit is contained in:
Henrik Lissner 2022-08-19 11:50:09 +02:00
parent 98b8f01de3
commit 995b40378d
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -346,10 +346,6 @@ This value is cached. If REFRESH-P, then don't use the cached value."
(setq use-package-ensure-function #'use-package-ensure-elpa)))
(with-eval-after-load 'use-package-core
;; `use-package' adds syntax highlighting for the `use-package' macro, but
;; Emacs 26+ already highlights macros, so it's redundant.
(font-lock-remove-keywords 'emacs-lisp-mode use-package-font-lock-keywords)
;; We define :minor and :magic-minor from the `auto-minor-mode' package here
;; so we don't have to load `auto-minor-mode' so early.
(dolist (keyword '(:minor :magic-minor))