From ffef470208390f762f2cb29582b6c848f16776fe Mon Sep 17 00:00:00 2001 From: Juergen Hoetzel Date: Sun, 16 Feb 2020 13:35:57 +0100 Subject: [PATCH] Add autoload for systemd.path unit --- systemd.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/systemd.el b/systemd.el index f544ed9..1e7bb86 100644 --- a/systemd.el +++ b/systemd.el @@ -130,7 +130,7 @@ (defconst systemd-autoload-regexp (eval-when-compile (rx (+? (any "a-zA-Z0-9-_.@\\")) "." - (or "automount" "busname" "mount" "service" "slice" + (or "automount" "busname" "mount" "path" "service" "slice" "socket" "swap" "target" "timer" "link" "netdev" "network") string-end)) "Regexp for file buffers in which to autoload `systemd-mode'.") @@ -140,7 +140,7 @@ (eval-when-compile (rx ".#" (or (and (+? (any "a-zA-Z0-9-_.@\\")) "." - (or "automount" "busname" "mount" "service" "slice" + (or "automount" "busname" "mount" "path" "service" "slice" "socket" "swap" "target" "timer" "link" "netdev" "network")) "override.conf") (= 16 (char hex-digit)) string-end))