summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2017-09-22 12:43:29 +0200
committerAlan Pearce2017-09-22 12:43:29 +0200
commita129355e81814b068993fca2fc8dc71e7501b3dc (patch)
tree97bb2e3e4474a35c4ffa3d0c4a9fafa07d8e0df0 /emacs
parent317cc0e7a0cbef0df499f05b38e4d7e9dc47bc32 (diff)
downloaddotfiles-a129355e81814b068993fca2fc8dc71e7501b3dc.tar.lz
dotfiles-a129355e81814b068993fca2fc8dc71e7501b3dc.tar.zst
dotfiles-a129355e81814b068993fca2fc8dc71e7501b3dc.zip
Emacs: Complain more when editorconfig is missing
Diffstat (limited to 'emacs')
-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 b749a10..5e5c06f 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