From cf3a9fd2c95f95c08c1abe6342aae3be8ec45d4b Mon Sep 17 00:00:00 2001 From: Timo Wilken Date: Sat, 4 Mar 2023 19:17:14 +0100 Subject: Fix alidist-mode Emacs setup --- tw/home/files/emacs-init.el | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tw/home/files/emacs-init.el') diff --git a/tw/home/files/emacs-init.el b/tw/home/files/emacs-init.el index e5fae28c..1fce11ba 100644 --- a/tw/home/files/emacs-init.el +++ b/tw/home/files/emacs-init.el @@ -261,8 +261,8 @@ (use-package mmm-mode :commands (mmm-mode) - :custom - (mmm-default-submode-face '((t nil)) "Don't highlight submodes specially at all.")) + ;; Don't highlight submodes specially at all. The default background is annoying. + :custom-face (mmm-default-submode-face ((t (:background nil))))) (use-package puppet-mode :mode (rx ".pp" eos)) @@ -346,9 +346,9 @@ ;; :load-path "include/") (use-package alidist-mode - :after (flymake mmm-mode yaml-mode) - :mode (rx (or bos "/") "alidist/" (1+ anything) ".sh" eos) - :load-path "include/") + :load-path "include/" + :commands (alidist-mode) + :mode (rx (or bot "/") "alidist/" (1+ (not ?\/)) ".sh" eot)) (use-package bemscript-mode :load-path "include/" -- cgit v1.2.3