From 09952ce43451b76a0f7839e35d033fbbfa078e31 Mon Sep 17 00:00:00 2001 From: Torsten Hilbrich Date: Thu, 19 Nov 2020 21:40:45 +0100 Subject: [PATCH] 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 --- lisp/net/dictionary.el | 2 -- 1 file changed, 2 deletions(-) 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 -- 2.39.2