summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'emacs')
-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 5921d353..64306bc9 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)))