From c39e8c2bbf818d2e0912bb407a9c3056e1274345 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Fri, 20 Oct 2023 12:12:28 +0200 Subject: [PATCH] Only load systemd-mode for specific file types --- configuration.org | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configuration.org b/configuration.org index 77f3876..8f80099 100644 --- a/configuration.org +++ b/configuration.org @@ -2994,7 +2994,8 @@ Because that’s still my favourite language. ** ~systemd~, for editing systemd unit files #+begin_src emacs-lisp -(use-package systemd) +(use-package systemd + :mode ("\\.\\(?:automount\\|mount\\|path\\|s\\(?:ervice\\|lice\\|ocket\\)\\|t\\(?:arget\\|imer\\)\\|wants\\)\\'" . systemd-mode)) #+end_src ** ~terraform-mode~