From 92bdf0b68575dea2a7c5335c76611c5e66508b29 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 29 Jun 2017 00:23:15 +0200 Subject: Emacs: Fix incorrectly detection of editorconfig-mode --- emacs/.emacs.d/init.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'emacs') 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) -- cgit 1.4.1