summary refs log tree commit diff
diff options
context:
space:
mode:
authornoa2024-11-15 02:39:16 +0800
committernoa2024-11-15 02:39:16 +0800
commitb046a66143fe8b3d0c7f331c306135ae214d020c (patch)
tree2b1f5cc918de9f550080d7037643c5399b9b0969
parent0d1ae2883cefc19f08c7b81c5d44858a569964eb (diff)
Only configure wordnut if wordnet is found
-rw-r--r--emacs/init.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/emacs/init.el b/emacs/init.el
index bc8e3be..e2961d9 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -775,6 +775,7 @@ The misspelled word is taken from OVERLAY.  WORD is the corrected word."
 
 ;; so i can search for synonyms without using the internet
 (use-package wordnut
+  :if (executable-find "wordnet")
   :ensure t
   :defer t)