summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--tag-emacs/emacs.d/init.org2
1 files changed, 2 insertions, 0 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index ba176300..9e6b3189 100644
--- a/tag-emacs/emacs.d/init.org
+++ b/tag-emacs/emacs.d/init.org
@@ -728,6 +728,8 @@ guesses the correct settings for me.
   (use-package dtrt-indent
     :config (progn
               (dtrt-indent-mode 1)
+              (add-hook 'editorconfig-custom-hooks (lambda ()
+                                                     (dtrt-indent-undo)))
               (defadvice dtrt-indent-try-set-offset (after toggle-smart-tabs activate)
                 (smart-tabs-mode (or indent-tabs-mode -1)))))
 #+END_SRC