summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--emacs/.emacs.d/main.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index 5921d35..64306bc 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -809,7 +809,7 @@
 
 (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)))