From 664350b7ac450e80d58507b6a178231047896de2 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 29 Apr 2016 15:56:17 +0200 Subject: Emacs: Don’t guess indentation with editorconfig --- tag-emacs/emacs.d/init.org | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit 1.4.1