summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2017-06-29 00:23:15 +0200
committerAlan Pearce2017-06-29 00:23:15 +0200
commit92bdf0b68575dea2a7c5335c76611c5e66508b29 (patch)
tree55bf06fdb9f557b2ecb1e094a9873eab1601c0c8
parent764f93497bea2058ae51466863a9659e7f4e2c8f (diff)
downloaddotfiles-92bdf0b68575dea2a7c5335c76611c5e66508b29.tar.lz
dotfiles-92bdf0b68575dea2a7c5335c76611c5e66508b29.tar.zst
dotfiles-92bdf0b68575dea2a7c5335c76611c5e66508b29.zip
Emacs: Fix incorrectly detection of editorconfig-mode
-rw-r--r--emacs/.emacs.d/init.org2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index 87ac27b..a647479 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -905,7 +905,7 @@ guesses the correct settings for me.
 (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)