diff options
author | Alan Pearce | 2017-09-22 12:43:29 +0200 |
---|---|---|
committer | Alan Pearce | 2017-09-22 12:43:29 +0200 |
commit | a129355e81814b068993fca2fc8dc71e7501b3dc (patch) | |
tree | 97bb2e3e4474a35c4ffa3d0c4a9fafa07d8e0df0 | |
parent | 317cc0e7a0cbef0df499f05b38e4d7e9dc47bc32 (diff) | |
download | nixfiles-a129355e81814b068993fca2fc8dc71e7501b3dc.tar.lz nixfiles-a129355e81814b068993fca2fc8dc71e7501b3dc.tar.zst nixfiles-a129355e81814b068993fca2fc8dc71e7501b3dc.zip |
Emacs: Complain more when editorconfig is missing
-rw-r--r-- | emacs/.emacs.d/main.el | 5 |
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 |