summary refs log tree commit diff stats
path: root/emacs/.emacs.d/main.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/.emacs.d/main.el')
-rw-r--r--emacs/.emacs.d/main.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index b749a106..5e5c06f3 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -880,7 +880,10 @@
 
 ;; #+BEGIN_SRC emacs-lisp
 (use-package editorconfig
-  :diminish "EC"
+  :diminish editorconfig-mode
+  :init (progn
+          (unless (executable-find "editorconfig")
+            (warn "Missing `editorconfig' executable.")))
   :config (editorconfig-mode 1))
 ;; #+END_SRC