tools/lookup: fix synosaurus -> synosaurus-wordnet

The synosaurus-wordnet--command variable is defined in
synosaurus-wordnet rather than in synosaurus.
This commit is contained in:
Paul A. Patience 2020-04-08 05:00:29 -04:00
parent 8d77518710
commit 1b980c7577

View file

@ -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))