emacs: Only consider applying dtrt-indent in prog modes
Alan Pearce alan@alanpearce.eu
Sun, 17 Jun 2018 09:28:06 +0200
1 files changed, 1 insertions(+), 1 deletions(-)
jump to
M emacs/.emacs.d/main.el → emacs/.emacs.d/main.el
@@ -809,7 +809,7 @@ ;; guesses the correct settings for me. (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)))