diff options
-rw-r--r-- | tag-emacs/emacs.d/init.org | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org index ba17630..9e6b318 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 |