emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/systemd 3ff4f0f 108/131: anchor some matchers to follow "=


From: ELPA Syncer
Subject: [nongnu] elpa/systemd 3ff4f0f 108/131: anchor some matchers to follow "="
Date: Sun, 29 Aug 2021 11:35:24 -0400 (EDT)

branch: elpa/systemd
commit 3ff4f0f706e97d3117f66e075b397a3cf0a4ef50
Author: Mark Oteiza <mvoteiza@udel.edu>
Commit: Mark Oteiza <mvoteiza@udel.edu>

    anchor some matchers to follow "="
---
 systemd.el | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/systemd.el b/systemd.el
index fdc1d62..49cd290 100644
--- a/systemd.el
+++ b/systemd.el
@@ -275,14 +275,14 @@ See `font-lock-keywords' and (info \"(elisp) Search-based 
Fontification\")."
     ;; boolean arguments
     (,(rx "=" (group (or "yes" "true" "on" "0" "no" "false" "off")) eol)
      1 'font-lock-constant-face)
-    ;; environment variables
-    ("\\$[A-Z_]+\\>" 0 'font-lock-variable-name-face)
-    ;; specifiers
-    ("%[nNpPiIfcrRtuUhsmbHv%]" 0 'font-lock-constant-face)
-    ;; exec prefixes
     ("="
+     ;; exec prefixes
      (systemd-exec-prefix-anchored-matcher
-      nil nil (0 'font-lock-negation-char-face))))
+      nil nil (0 'font-lock-negation-char-face))
+     ;; environment variables
+     ("\\$[A-Z_]+\\>" nil nil (0 'font-lock-variable-name-face))
+     ;; specifiers
+     ("%[nNpPiIfcrRtuUhsmbHv%]" nil nil (0 'font-lock-constant-face))))
   "Extended expressions to highlight in `systemd-mode'.")
 
 (defconst systemd-font-lock-keywords-3



reply via email to

[Prev in Thread] Current Thread [Next in Thread]