branch: elpa/systemd
commit 0a4b6c49d381ec8cd5023c0d85d32a795e18a1ed
Author: Mark Oteiza <[email protected]>
Commit: Mark Oteiza <[email protected]>
shrug
---
systemd.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/systemd.el b/systemd.el
index a96f4cd..819c0f8 100644
--- a/systemd.el
+++ b/systemd.el
@@ -194,7 +194,7 @@ file, defaulting to the link under point, if any."
"Return t if current line begins with \"[\", otherwise nil."
(save-excursion
(beginning-of-line)
- (looking-at "\\[")))
+ (= (following-char) ?\[)))
(defun systemd-buffer-network-p ()
"Return non-nil if `buffer-name' has a network-type extension, otherwise
nil."