mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-06 12:19:37 +00:00
Revert "Remove use-package-font-lock-keywords"
This reverts commit 4938167bff
.
This commit is contained in:
parent
09e837dfae
commit
6c2fdaffd9
1 changed files with 7 additions and 0 deletions
|
@ -328,6 +328,13 @@ Must be set before loading use-package."
|
||||||
(set-default sym value))
|
(set-default sym value))
|
||||||
:group 'use-package)
|
:group 'use-package)
|
||||||
|
|
||||||
|
(defconst use-package-font-lock-keywords
|
||||||
|
'(("(\\(use-package\\)\\_>[ \t']*\\(\\(?:\\sw\\|\\s_\\)+\\)?"
|
||||||
|
(1 font-lock-keyword-face)
|
||||||
|
(2 font-lock-constant-face nil t))))
|
||||||
|
|
||||||
|
(font-lock-add-keywords 'emacs-lisp-mode use-package-font-lock-keywords)
|
||||||
|
|
||||||
(defcustom use-package-compute-statistics nil
|
(defcustom use-package-compute-statistics nil
|
||||||
"If non-nil, compute statistics concerned use-package declarations.
|
"If non-nil, compute statistics concerned use-package declarations.
|
||||||
View the statistical report using `use-package-report'. Note that
|
View the statistical report using `use-package-report'. Note that
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue