From f0a31d705523185ab5507ab7d2aee00fb9d46bd4 Mon Sep 17 00:00:00 2001 From: Nick Roberts Date: Tue, 24 May 2005 10:27:22 +0000 Subject: [PATCH] (Fyes_or_no_p, Fy_or_n_p): Call Fx_popup_dialog with a third argument (Qnil). --- src/fns.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fns.c b/src/fns.c index 216852f893e..bd3893f7538 100644 --- a/src/fns.c +++ b/src/fns.c @@ -3276,7 +3276,7 @@ is nil and `use-dialog-box' is non-nil. */) Fcons (Fcons (build_string ("No"), Qnil), Qnil)); menu = Fcons (prompt, pane); - obj = Fx_popup_dialog (Qt, menu); + obj = Fx_popup_dialog (Qt, menu, Qnil); answer = !NILP (obj); break; } @@ -3408,7 +3408,7 @@ is nil, and `use-dialog-box' is non-nil. */) Qnil)); GCPRO1 (pane); menu = Fcons (prompt, pane); - obj = Fx_popup_dialog (Qt, menu); + obj = Fx_popup_dialog (Qt, menu, Qnil); UNGCPRO; return obj; } -- 2.39.2