Don’t load tern.el if executable missing
Alan Pearce alan@alanpearce.uk
Fri, 14 Oct 2016 20:52:27 +0200
1 files changed, 1 insertions(+), 0 deletions(-)
jump to
M tag-emacs/emacs.d/init.org → tag-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")))