diff options
Diffstat (limited to 'tw/home')
-rw-r--r-- | tw/home/files/emacs-init.el | 2 | ||||
-rw-r--r-- | tw/home/files/emacs-packages/alidist-mode.el | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/tw/home/files/emacs-init.el b/tw/home/files/emacs-init.el index f5532c5c..c3a50a94 100644 --- a/tw/home/files/emacs-init.el +++ b/tw/home/files/emacs-init.el @@ -157,7 +157,7 @@ ;; Included in Emacs >= 26. Better than `linum-mode'. ;; There is also `global-display-line-numbers-mode', but that also ;; enables line numbers in help windows, which I don't want. - :hook (prog-mode conf-mode)) + :hook (prog-mode conf-mode alidist-mode)) (use-package which-key :commands (which-key-mode) :demand t diff --git a/tw/home/files/emacs-packages/alidist-mode.el b/tw/home/files/emacs-packages/alidist-mode.el index b5d0e621..d26680b2 100644 --- a/tw/home/files/emacs-packages/alidist-mode.el +++ b/tw/home/files/emacs-packages/alidist-mode.el @@ -124,7 +124,8 @@ It is stored in `alidist-mode--mmm-refresh-timer'." ;; and compare every time the timer ticks over. (current-buffer))) ;; Set up `flymake-mode'. - (add-hook 'flymake-diagnostic-functions #'alidist-flymake nil t)) + (add-hook 'flymake-diagnostic-functions #'alidist-flymake nil t) + (flymake-mode)) (define-derived-mode alidist-script-mode sh-mode "Script" "A mode for scripts in alidist recipes with some default settings." |