From a129355e81814b068993fca2fc8dc71e7501b3dc Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 22 Sep 2017 12:43:29 +0200 Subject: Emacs: Complain more when editorconfig is missing --- emacs/.emacs.d/main.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'emacs/.emacs.d') 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 -- cgit 1.4.1