Merge pull request #2842 from paulapatience/bugfix/synosaurus-wordnet

tools/lookup: fix synosaurus -> synosaurus-wordnet
This commit is contained in:
Henrik Lissner 2020-04-08 15:36:29 -04:00 committed by GitHub
commit 439562e526
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -327,7 +327,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))