summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2018-06-17 09:28:06 +0200
committerAlan Pearce2018-06-17 09:28:06 +0200
commit41c12941f4b63a9c86d32e5d24a5cb6df8546263 (patch)
tree90a046adddd4ab3e10b56a6040a2a16ac1c4396f
parent70fee94efaf26221cd0fdebe793c26a991985d0e (diff)
downloadnixfiles-41c12941f4b63a9c86d32e5d24a5cb6df8546263.tar.lz
nixfiles-41c12941f4b63a9c86d32e5d24a5cb6df8546263.tar.zst
nixfiles-41c12941f4b63a9c86d32e5d24a5cb6df8546263.zip
emacs: Only consider applying dtrt-indent in prog modes
-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)))