emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

feature/integration-of-dictionary-el 09952ce 03/17: Removed useless chec


From: Torsten Hilbrich
Subject: feature/integration-of-dictionary-el 09952ce 03/17: Removed useless check for popup-menu
Date: Mon, 14 Dec 2020 05:46:36 -0500 (EST)

branch: feature/integration-of-dictionary-el
commit 09952ce43451b76a0f7839e35d033fbbfa078e31
Author: Torsten Hilbrich <torsten.hilbrich@gmx.net>
Commit: Torsten Hilbrich <torsten.hilbrich@gmx.net>

    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 65ed7d2..12b11cb 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]