branch: elpa/systemd
commit f32ecf8a0b6448668a845ce7b3f1e60fb91b9371
Author: Mark Oteiza <[email protected]>
Commit: Mark Oteiza <[email protected]>
tag it
---
systemd-mode.el | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/systemd-mode.el b/systemd-mode.el
index 5a66901..3fc08b3 100644
--- a/systemd-mode.el
+++ b/systemd-mode.el
@@ -3,6 +3,7 @@
;; Copyright (C) 2014-2015 Mark Oteiza <[email protected]>
;; Author: Mark Oteiza <[email protected]>
+;; Version: 1.0
;; Keywords: tools, unix
;; This file is free software; you can redistribute it and/or
@@ -43,8 +44,7 @@
:group 'systemd)
(defvar systemd-font-lock-keywords
- `(
- ("^\\([#;]\\(.*\\)\\)$"
+ `(("^\\([#;]\\(.*\\)\\)$"
(1 'font-lock-comment-delimiter-face)
(2 'font-lock-comment-face))
("\\\\$" 0 'font-lock-warning-face) ; line break
@@ -58,8 +58,7 @@
("=\\(1\\|yes\\|true\\|on\\|0\\|no\\|false\\|off\\)$"
1 'font-lock-constant-face)
;; specifiers
- ("%[nNpPiIfcrRtuUhsmbHv%]" 0 'font-lock-constant-face)
- )
+ ("%[nNpPiIfcrRtuUhsmbHv%]" 0 'font-lock-constant-face))
"Default expressions to highlight in `systemd-mode'. See systemd.unit(5)
for details on unit file syntax.")
@@ -141,7 +140,6 @@ at mode initialization.
Key bindings:
\\{systemd-mode-map}"
- (set-syntax-table systemd-mode-syntax-table)
(setq-local comment-start systemd-comment-start)
(setq-local font-lock-defaults '(systemd-font-lock-keywords)))