summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2016-10-14 20:52:27 +0200
committerAlan Pearce2016-10-14 20:52:27 +0200
commitba25d60dc705901b1cd11db4ba1ab9220a12a3aa (patch)
tree86b7aae93c2bc8e9ee445a48967f87725f3261e4
parente9dee8c3176c491b63bd498a52c67145cadf9551 (diff)
downloadnixfiles-ba25d60dc705901b1cd11db4ba1ab9220a12a3aa.tar.lz
nixfiles-ba25d60dc705901b1cd11db4ba1ab9220a12a3aa.tar.zst
nixfiles-ba25d60dc705901b1cd11db4ba1ab9220a12a3aa.zip
Don’t load tern.el if executable missing
-rw-r--r--tag-emacs/emacs.d/init.org1
1 files changed, 1 insertions, 0 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index 725f7ae7..821d5af3 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")))