From 58def86c20b631aea2c017350aad77a5b13e2358 Mon Sep 17 00:00:00 2001 From: Geoff Voelker Date: Tue, 7 Nov 1995 07:18:17 +0000 Subject: [PATCH] [HAVE_NTGUI] (Fy_or_n_p, Fyes_or_no_p): Allow popup. --- src/fns.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; -- 2.39.2