Emacs: Don’t guess indentation with editorconfig
Alan Pearce alan.pearce@spotcap.com
Fri, 29 Apr 2016 15:56:17 +0200
1 files changed, 2 insertions(+), 0 deletions(-)
jump to
M tag-emacs/emacs.d/init.org → tag-emacs/emacs.d/init.org
@@ -728,6 +728,8 @@ #+BEGIN_SRC emacs-lisp (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