diff options
author | 2023-11-29 21:17:34 +0100 | |
---|---|---|
committer | 2023-11-29 21:17:34 +0100 | |
commit | 1d22a46655150b06545a4df23062c7c11e365251 (patch) | |
tree | fb76d035e8a59e174bac2c7c446b83c35c264ea9 /glep-mode.el | |
parent | Update face for package manager keywords (diff) | |
download | ebuild-mode-1d22a46655150b06545a4df23062c7c11e365251.tar.gz ebuild-mode-1d22a46655150b06545a4df23062c7c11e365251.tar.bz2 ebuild-mode-1d22a46655150b06545a4df23062c7c11e365251.zip |
Don't use variables for faces in glep-mode
* glep-mode.el (glep-mode-add-font-lock): Specify faces directly
instead of using variables.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'glep-mode.el')
-rw-r--r-- | glep-mode.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/glep-mode.el b/glep-mode.el index 6648dae..5028acb 100644 --- a/glep-mode.el +++ b/glep-mode.el @@ -101,10 +101,10 @@ This will be added to the `write-contents-functions' hook." (defun glep-mode-add-font-lock () "Add `glep-mode' font-lock keywords for the current buffer." (font-lock-add-keywords - nil `((glep-mode-font-lock-match-delims - . ,font-lock-comment-delimiter-face) + nil '((glep-mode-font-lock-match-delims + . font-lock-comment-delimiter-face) (glep-mode-font-lock-match-preamble - . ,font-lock-keyword-face)))) + . font-lock-keyword-face)))) (add-hook 'glep-mode-hook #'glep-mode-add-font-lock) |