all repos — nixfiles @ 41c12941f4b63a9c86d32e5d24a5cb6df8546263

System and user configuration, managed by nix and home-manager

emacs: Only consider applying dtrt-indent in prog modes

Alan Pearce
commit

41c12941f4b63a9c86d32e5d24a5cb6df8546263

parent

70fee94efaf26221cd0fdebe793c26a991985d0e

1 file changed, 1 insertion(+), 1 deletion(-)

jump to
M emacs/.emacs.d/main.elemacs/.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)))