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:
parent
8d77518710
commit
1b980c7577
1 changed files with 1 additions and 1 deletions
|
@ -324,7 +324,7 @@ Otherwise, falls back on `find-file-at-point'."
|
||||||
current-prefix-arg))
|
current-prefix-arg))
|
||||||
(message "Looking up synonyms for %S" identifier)
|
(message "Looking up synonyms for %S" identifier)
|
||||||
(cond ((and +lookup-dictionary-prefer-offline
|
(cond ((and +lookup-dictionary-prefer-offline
|
||||||
(require 'synosaurus nil t))
|
(require 'synosaurus-wordnet nil t))
|
||||||
(unless (executable-find synosaurus-wordnet--command)
|
(unless (executable-find synosaurus-wordnet--command)
|
||||||
(user-error "Couldn't find %S installed on your system"
|
(user-error "Couldn't find %S installed on your system"
|
||||||
synosaurus-wordnet--command))
|
synosaurus-wordnet--command))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue