summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2017-06-29 00:23:15 +0200
committerAlan Pearce2017-06-29 00:23:15 +0200
commit92bdf0b68575dea2a7c5335c76611c5e66508b29 (patch)
tree55bf06fdb9f557b2ecb1e094a9873eab1601c0c8 /emacs
parent764f93497bea2058ae51466863a9659e7f4e2c8f (diff)
downloadnixfiles-92bdf0b68575dea2a7c5335c76611c5e66508b29.tar.lz
nixfiles-92bdf0b68575dea2a7c5335c76611c5e66508b29.tar.zst
nixfiles-92bdf0b68575dea2a7c5335c76611c5e66508b29.zip
Emacs: Fix incorrectly detection of editorconfig-mode
Diffstat (limited to 'emacs')
-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 87ac27ba..a6474799 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)