summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tw/home/files/emacs-init.el10
1 files changed, 5 insertions, 5 deletions
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/"