all repos — archive/dotfiles @ 41c12941f4b63a9c86d32e5d24a5cb6df8546263

Superseded by nixfiles

emacs: Only consider applying dtrt-indent in prog modes
Alan Pearce alan@alanpearce.eu
Sun, 17 Jun 2018 09:28:06 +0200
commit

41c12941f4b63a9c86d32e5d24a5cb6df8546263

parent

70fee94efaf26221cd0fdebe793c26a991985d0e

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M emacs/.emacs.d/main.elemacs/.emacs.d/main.el
@@ -809,7 +809,7 @@ ;; guesses the correct settings for me. 
 (use-package dtrt-indent
   :config (progn
-            (define-hook-helper after-change-major-mode ()
+            (define-hook-helper prog-mode ()
               (unless (and (boundp editorconfig-mode)
                            editorconfig-mode)
                 (dtrt-indent-adapt)))