changeset 29202:a1854f8baf0c

(edebug-emacs-19-specific): Call display-popup-menus-p instead of looking at window-system.
author Eli Zaretskii <eliz@gnu.org>
date Thu, 25 May 2000 16:55:17 +0000
parents c8bfb0b55a91
children 004bedde23fc
files lisp/emacs-lisp/edebug.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/edebug.el	Thu May 25 16:54:17 2000 +0000
+++ b/lisp/emacs-lisp/edebug.el	Thu May 25 16:55:17 2000 +0000
@@ -4396,7 +4396,7 @@
       (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])))
   )