This commit is contained in:
Mark Oteiza 2017-07-08 18:34:46 -04:00
parent 28601d814f
commit 9cfd315337

View File

@ -219,9 +219,7 @@ See `font-lock-keywords' and (info \"(elisp) Search-based Fontification\")."
(defun systemd-buffer-section-p ()
"Return t if current line begins with \"[\", otherwise nil."
(save-excursion
(beginning-of-line)
(= (following-char) ?\[)))
(= (char-after (line-beginning-position)) ?\[))
(defun systemd-file-network-p (filename)
"Return non-nil if FILENAME has a network-type extension, otherwise nil."