From: Geoff Voelker Date: Tue, 7 Nov 1995 07:18:17 +0000 (+0000) Subject: [HAVE_NTGUI] (Fy_or_n_p, Fyes_or_no_p): Allow popup. X-Git-Tag: emacs-19.34~2450 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=58def86c20b631aea2c017350aad77a5b13e2358;p=emacs.git [HAVE_NTGUI] (Fy_or_n_p, Fyes_or_no_p): Allow popup. --- diff --git a/src/fns.c b/src/fns.c index b2eada7468e..7474fc3b380 100644 --- a/src/fns.c +++ b/src/fns.c @@ -1568,7 +1568,7 @@ Also accepts Space to mean yes, or Delete to mean no.") while (1) { -#ifdef HAVE_X_MENU +#if defined (HAVE_X_MENU) || defined (HAVE_NTGUI) if ((NILP (last_nonmenu_event) || CONSP (last_nonmenu_event)) && using_x_p ()) { @@ -1676,8 +1676,8 @@ and can edit it until it has been confirmed.") CHECK_STRING (prompt, 0); -#ifdef HAVE_X_MENU - if ((NILP (last_nonmenu_event) || CONSP (last_nonmenu_event)) +#if defined (HAVE_X_MENU) || defined (HAVE_NTGUI) + if ((NILP (last_nonmenu_event) || CONSP (last_nonmenu_event)) && using_x_p ()) { Lisp_Object pane, menu, obj;