From ba25d60dc705901b1cd11db4ba1ab9220a12a3aa Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 14 Oct 2016 20:52:27 +0200 Subject: Don’t load tern.el if executable missing --- tag-emacs/emacs.d/init.org | 1 + 1 file changed, 1 insertion(+) (limited to 'tag-emacs') diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org index 725f7ae..821d5af 100644 --- a/tag-emacs/emacs.d/init.org +++ b/tag-emacs/emacs.d/init.org @@ -1873,6 +1873,7 @@ completions, besides other IDE-like things. #+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"))) -- cgit 1.4.1