diff options
author | Alan Pearce | 2018-06-17 09:28:06 +0200 |
---|---|---|
committer | Alan Pearce | 2018-06-17 09:28:06 +0200 |
commit | 41c12941f4b63a9c86d32e5d24a5cb6df8546263 (patch) | |
tree | 90a046adddd4ab3e10b56a6040a2a16ac1c4396f /emacs | |
parent | 70fee94efaf26221cd0fdebe793c26a991985d0e (diff) | |
download | nixfiles-41c12941f4b63a9c86d32e5d24a5cb6df8546263.tar.lz nixfiles-41c12941f4b63a9c86d32e5d24a5cb6df8546263.tar.zst nixfiles-41c12941f4b63a9c86d32e5d24a5cb6df8546263.zip |
emacs: Only consider applying dtrt-indent in prog modes
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/.emacs.d/main.el | 2 |
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))) |