all repos — nixfiles @ 92bdf0b68575dea2a7c5335c76611c5e66508b29

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

Emacs: Fix incorrectly detection of editorconfig-mode

Alan Pearce
commit

92bdf0b68575dea2a7c5335c76611c5e66508b29

parent

764f93497bea2058ae51466863a9659e7f4e2c8f

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

jump to
M emacs/.emacs.d/init.orgemacs/.emacs.d/init.org
@@ -905,7 +905,7 @@ #+BEGIN_SRC emacs-lisp
(use-package dtrt-indent :config (progn (define-hook-helper after-change-major-mode () - (unless (and (fboundp editorconfig-mode) + (unless (and (boundp editorconfig-mode) editorconfig-mode) (dtrt-indent-adapt))) (defadvice dtrt-indent-try-set-offset (after toggle-smart-tabs activate)