From: Eli Zaretskii Date: Thu, 25 May 2000 16:55:17 +0000 (+0000) Subject: (edebug-emacs-19-specific): Call X-Git-Tag: emacs-pretest-21.0.90~3709 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bc46628f73ac43974d8c1817048621aff563bf9f;p=emacs.git (edebug-emacs-19-specific): Call display-popup-menus-p instead of looking at window-system. --- 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]))) )