all repos — archive/dotfiles @ ba25d60dc705901b1cd11db4ba1ab9220a12a3aa

Superseded by nixfiles

Don’t load tern.el if executable missing
Alan Pearce alan@alanpearce.uk
Fri, 14 Oct 2016 20:52:27 +0200
commit

ba25d60dc705901b1cd11db4ba1ab9220a12a3aa

parent

e9dee8c3176c491b63bd498a52c67145cadf9551

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

jump to
M tag-emacs/emacs.d/init.orgtag-emacs/emacs.d/init.org
@@ -1873,6 +1873,7 @@ #+BEGIN_SRC emacs-lisp
   (use-package tern
 	:commands ap/enable-tern
+	:if (executable-find "tern")
 	:defer 5
 	:config (progn
 			  (setq tern-command (list (executable-find "tern")))