From 7cbe8257a61d6bedb942d0fd15ad7aa018447012 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 4 Jun 2017 15:52:46 +0200 Subject: Emacs: Load flycheck-vale only if vale is executable --- emacs/.emacs.d/init.org | 1 + 1 file changed, 1 insertion(+) (limited to 'emacs') 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))) -- cgit 1.4.1