From b046a66143fe8b3d0c7f331c306135ae214d020c Mon Sep 17 00:00:00 2001 From: noa Date: Fri, 15 Nov 2024 02:39:16 +0800 Subject: Only configure wordnut if wordnet is found --- emacs/init.el | 1 + 1 file changed, 1 insertion(+) (limited to 'emacs') 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) -- cgit 1.4.1-2-gfad0