]> git.eshelyaron.com Git - emacs.git/commitdiff
(edebug-emacs-19-specific): Call
authorEli Zaretskii <eliz@gnu.org>
Thu, 25 May 2000 16:55:17 +0000 (16:55 +0000)
committerEli Zaretskii <eliz@gnu.org>
Thu, 25 May 2000 16:55:17 +0000 (16:55 +0000)
display-popup-menus-p instead of looking at window-system.

lisp/emacs-lisp/edebug.el

index fe5bd5d474e9739ffbedb50cd131b5b283beb97e..9533da37f66a5852faf8133d7a6f51d9c4fa85dc 100644 (file)
@@ -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])))
   )