From: Torsten Hilbrich Date: Thu, 19 Nov 2020 20:40:45 +0000 (+0100) Subject: Removed useless check for popup-menu X-Git-Tag: emacs-28.0.90~4726^2~14 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=09952ce434;p=emacs.git 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 --- diff --git a/lisp/net/dictionary.el b/lisp/net/dictionary.el index 65ed7d2b1e2..12b11cb5111 100644 --- a/lisp/net/dictionary.el +++ b/lisp/net/dictionary.el @@ -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