Removed useless check for popup-menu
* lisp/net/dictionary.el (dictionary-popup-matching-words): No need to check for popup-menu, the code is part of Emacs now and the function should always be there
This commit is contained in:
@@ -1179,8 +1179,6 @@ It presents the word at point as default input and allows editing it."
|
||||
(defun dictionary-popup-matching-words (&optional word)
|
||||
"Display entries matching the word at the point"
|
||||
(interactive)
|
||||
(unless (functionp 'popup-menu)
|
||||
(error "Sorry, popup menus are not available in this emacs version"))
|
||||
(dictionary-do-matching (or word (current-word))
|
||||
dictionary-default-dictionary
|
||||
dictionary-default-popup-strategy
|
||||
|
||||
Reference in New Issue
Block a user