diff options
author | Torsten Hilbrich <torsten.hilbrich@gmx.net> | 2013-08-10 15:47:58 +0200 |
---|---|---|
committer | Torsten Hilbrich <torsten.hilbrich@gmx.net> | 2013-08-10 15:47:58 +0200 |
commit | e1f9ef198fa296c05dbd4915144d480bd3b20db3 (patch) | |
tree | b8644469c7e553efa2b830f8f14aa43e22638ab1 /dictionary.el | |
parent | 8d203691c1eeb08682b65e467ca67cb921913bc3 (diff) |
dictionary: Fix :type for dictionary-tooltip-dictionary
Using type string gives the warning "(mismatch)" when used with the
default value of nil.
Using a more specific type where nil stands for no dictionary and the
alternative string type specifies the dictionary to use.
This was suggested by Kevin Ryde in debian bug #719041.
Diffstat (limited to 'dictionary.el')
-rwxr-xr-x | dictionary.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dictionary.el b/dictionary.el index 9145363..91d37c5 100755 --- a/dictionary.el +++ b/dictionary.el @@ -1185,7 +1185,7 @@ It presents the word at point as default input and allows editing it." nil "This dictionary to lookup words for tooltips" :group 'dictionary - :type 'string) + :type '(choice (const :tag "None" nil) string)) (defun dictionary-definition (word &optional dictionary) (interactive) |