branch: elpa/systemd
commit 0e793b05e2767f1737bd4085874cf1ba6cf07ced
Author: Mark Oteiza <mvote...@udel.edu>
Commit: Mark Oteiza <mvote...@udel.edu>

    put the quotes back. faces are symbols
    
    font-lock.el is an exception wrt defvar'ing faces, not the rule
---
 systemd.el | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/systemd.el b/systemd.el
index eb97f6a..3a02136 100644
--- a/systemd.el
+++ b/systemd.el
@@ -222,22 +222,22 @@ file, defaulting to the link under point, if any."
 (defvar systemd-font-lock-keywords
   (eval-when-compile
     `(("^[[:space:]]*?\\([#;]\\)\\(.*\\)$"
-       (1 font-lock-comment-delimiter-face)
-       (2 font-lock-comment-face))
-      ("\\\\$" 0 font-lock-warning-face) ; line break
+       (1 'font-lock-comment-delimiter-face)
+       (2 'font-lock-comment-face))
+      ("\\\\$" 0 'font-lock-warning-face) ; line break
       ;; sections
       ("^\\(\\[\\([[:upper:]][[:alnum:]]+\\|X-.*?\\)\\]\\)"
-       1 font-lock-type-face)
+       1 'font-lock-type-face)
       ;; keys
       ("^\\([[:upper:]][[:alnum:]]+\\)="
-       1 font-lock-keyword-face)
+       1 'font-lock-keyword-face)
       ;; boolean arguments
       (,(rx "=" (group (or "yes" "true" "on" "0" "no" "false" "off")) eol)
-       1 font-lock-constant-face)
+       1 'font-lock-constant-face)
       ;; specifiers
-      ("%[nNpPiIfcrRtuUhsmbHv%]" 0 font-lock-constant-face)
+      ("%[nNpPiIfcrRtuUhsmbHv%]" 0 'font-lock-constant-face)
       ;; exec prefixes
-      ("=\\(-@\\|@-\\|[@-]\\)" 1 font-lock-negation-char-face)))
+      ("=\\(-@\\|@-\\|[@-]\\)" 1 'font-lock-negation-char-face)))
   "Default expressions to highlight in `systemd-mode'.
 See systemd.unit(5) for details on unit file syntax.")
 

Reply via email to