1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-01 18:00:40 -08:00

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:
Torsten Hilbrich 2020-11-19 21:40:45 +01:00
parent cc5f280378
commit 09952ce434

View file

@ -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