[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#58552: 29.0.50; [PATCH] dictionary-lookup-definition "Wrong type arg
From: |
Daniel Martín |
Subject: |
bug#58552: 29.0.50; [PATCH] dictionary-lookup-definition "Wrong type argument" error when there is no word at point |
Date: |
Sat, 15 Oct 2022 21:36:35 +0200 |
Steps to reproduce the issue:
emacs -Q
M-x dictionary-lookup-definition RET
Answer "y" if asked about using dict.org.
Expected result:
As there is no word at point to act on, the operation should inform the
user right away.
Actual result:
dictionary-encode-charset: Wrong type argument: stringp, nil
An empty dictionary buffer is shown, which is confusing.
The attached patch informs the user that there is no word at point to
act on and aborts the operation early.
If you think it's a good patch, please install on my behalf. Thanks.
0001-Signal-an-error-in-dictionary-lookup-if-there-s-no-w.patch
Description: Text Data
- bug#58552: 29.0.50; [PATCH] dictionary-lookup-definition "Wrong type argument" error when there is no word at point,
Daniel Martín <=