From 1b980c75772431a2adaf4c6fcc96fb388d0ee167 Mon Sep 17 00:00:00 2001 From: "Paul A. Patience" Date: Wed, 8 Apr 2020 05:00:29 -0400 Subject: [PATCH] tools/lookup: fix synosaurus -> synosaurus-wordnet The synosaurus-wordnet--command variable is defined in synosaurus-wordnet rather than in synosaurus. --- modules/tools/lookup/autoload/lookup.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/tools/lookup/autoload/lookup.el b/modules/tools/lookup/autoload/lookup.el index 7b012e256..044c00160 100644 --- a/modules/tools/lookup/autoload/lookup.el +++ b/modules/tools/lookup/autoload/lookup.el @@ -324,7 +324,7 @@ Otherwise, falls back on `find-file-at-point'." current-prefix-arg)) (message "Looking up synonyms for %S" identifier) (cond ((and +lookup-dictionary-prefer-offline - (require 'synosaurus nil t)) + (require 'synosaurus-wordnet nil t)) (unless (executable-find synosaurus-wordnet--command) (user-error "Couldn't find %S installed on your system" synosaurus-wordnet--command))