changeset 35155:9e39c86c678b

(widget-choose): Call display-popup-menus-p instead of display-mouse-p.
author Eli Zaretskii <eliz@gnu.org>
date Tue, 09 Jan 2001 10:08:23 +0000
parents e459e9bee789
children c63f8fba845f
files lisp/wid-edit.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/wid-edit.el	Tue Jan 09 02:30:03 2001 +0000
+++ b/lisp/wid-edit.el	Tue Jan 09 10:08:23 2001 +0000
@@ -204,7 +204,7 @@
 `widget-menu-max-size', a popup menu will be used, otherwise the
 minibuffer."
   (cond ((and (< (length items) widget-menu-max-size)
-	      event (display-mouse-p))
+	      event (display-popup-menus-p))
 	 ;; Mouse click.
 	 (x-popup-menu event
 		       (list title (cons "" items))))