From bc46628f73ac43974d8c1817048621aff563bf9f Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Thu, 25 May 2000 16:55:17 +0000 Subject: [PATCH] (edebug-emacs-19-specific): Call display-popup-menus-p instead of looking at window-system. --- lisp/emacs-lisp/edebug.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/emacs-lisp/edebug.el b/lisp/emacs-lisp/edebug.el index fe5bd5d474e..9533da37f66 100644 --- a/lisp/emacs-lisp/edebug.el +++ b/lisp/emacs-lisp/edebug.el @@ -4396,7 +4396,7 @@ Print result in minibuffer." (edebug-safe-prin1-to-string (car values))))) (easy-menu-define edebug-menu edebug-mode-map "Edebug menus" edebug-mode-menus) - (if window-system + (if (display-popup-menus-p) (x-popup-menu nil (lookup-key edebug-mode-map [menu-bar Edebug]))) ) -- 2.39.5