From 21d50f27d8d99caf950f85654130aef030ba9fc2 Mon Sep 17 00:00:00 2001 From: Lucas Werkmeister Date: Thu, 28 Jun 2018 10:05:32 +0200 Subject: [PATCH] Sort specifiers alphabetically MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The systemd.unit(5) manpage sorts unit file specifiers alphabetically since commit systemd/systemd@709f4c472c, and since the order in this regular expression is even less relevant than in the manpage, let’s just do the same to make it easy to compare the letter sets between the two. --- systemd.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/systemd.el b/systemd.el index 2ed3070..571456f 100644 --- a/systemd.el +++ b/systemd.el @@ -337,7 +337,7 @@ See `font-lock-keywords' and (info \"(elisp) Search-based Fontification\")." ("\\$[A-Z_]+\\>" (systemd-value-extend-region) nil (0 'font-lock-variable-name-face)) ;; specifiers - ("%[nNpPiIfcrRtSCLuUhsmbHv%]" + ("%[bcCfhHiILmnNpPrRsStuUv%]" (systemd-value-extend-region) nil (0 'font-lock-constant-face)))) "Extended expressions to highlight in `systemd-mode'.")