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