all repos — archive/dotfiles @ a129355e81814b068993fca2fc8dc71e7501b3dc

Superseded by nixfiles

Emacs: Complain more when editorconfig is missing
Alan Pearce alan@alanpearce.eu
Fri, 22 Sep 2017 12:43:29 +0200
commit

a129355e81814b068993fca2fc8dc71e7501b3dc

parent

317cc0e7a0cbef0df499f05b38e4d7e9dc47bc32

1 files changed, 4 insertions(+), 1 deletions(-)

jump to
M emacs/.emacs.d/main.elemacs/.emacs.d/main.el
@@ -880,7 +880,10 @@ ;;;;;; editorconfig 
 ;; #+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