From 41c12941f4b63a9c86d32e5d24a5cb6df8546263 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 17 Jun 2018 09:28:06 +0200 Subject: emacs: Only consider applying dtrt-indent in prog modes --- emacs/.emacs.d/main.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'emacs') 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))) -- cgit 1.4.1