* lisp/net/dictionary.el (dictionary-popup-matching-words): Show error
if neither the parameter nor the word at point are defined
This avoids an error later on when the nil value is used as string
within dictionary-encode-charset.
(defun dictionary-popup-matching-words (&optional word)
"Display entries matching the word at the point"
(interactive)
- (dictionary-do-matching (or word (current-word))
+ (dictionary-do-matching (or word (current-word) (error "Nothing to search for"))
dictionary-default-dictionary
dictionary-default-popup-strategy
'dictionary-process-popup-replies))