summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2017-06-04 15:52:46 +0200
committerAlan Pearce2017-06-04 15:52:46 +0200
commit7cbe8257a61d6bedb942d0fd15ad7aa018447012 (patch)
tree486b4136bc3f21f70e0bd304583462355e14adac
parent6eaab8ee32bae08831da5040d1f0bf13e815ce65 (diff)
downloaddotfiles-7cbe8257a61d6bedb942d0fd15ad7aa018447012.tar.lz
dotfiles-7cbe8257a61d6bedb942d0fd15ad7aa018447012.tar.zst
dotfiles-7cbe8257a61d6bedb942d0fd15ad7aa018447012.zip
Emacs: Load flycheck-vale only if vale is executable
-rw-r--r--emacs/.emacs.d/init.org1
1 files changed, 1 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index c6a5934..b3458c1 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -2388,6 +2388,7 @@ Sometimes I might want to show off my emacs usage.
 
 #+BEGIN_SRC emacs-lisp
 (use-package flycheck-vale
+  :if (executable-find "vale")
   :config (progn
             (add-to-list 'flycheck-vale-modes 'org-mode)
             (flycheck-vale-setup)))