diff options
author | Alan Pearce | 2017-06-29 00:23:15 +0200 |
---|---|---|
committer | Alan Pearce | 2017-06-29 00:23:15 +0200 |
commit | 92bdf0b68575dea2a7c5335c76611c5e66508b29 (patch) | |
tree | 55bf06fdb9f557b2ecb1e094a9873eab1601c0c8 /emacs | |
parent | 764f93497bea2058ae51466863a9659e7f4e2c8f (diff) | |
download | dotfiles-92bdf0b68575dea2a7c5335c76611c5e66508b29.tar.lz dotfiles-92bdf0b68575dea2a7c5335c76611c5e66508b29.tar.zst dotfiles-92bdf0b68575dea2a7c5335c76611c5e66508b29.zip |
Emacs: Fix incorrectly detection of editorconfig-mode
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/.emacs.d/init.org | 2 |
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) |