Mercurial > emacs
changeset 6427:a4bf4dba3ace
(Fyes_or_no_p) [USE_X_TOOLKIT]: Display just one menu.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 19 Mar 1994 16:20:31 +0000 |
parents | 1f1388aa2d44 |
children | 633b2d7d12df |
files | src/fns.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/fns.c Sat Mar 19 10:31:57 1994 +0000 +++ b/src/fns.c Sat Mar 19 16:20:31 1994 +0000 @@ -1241,12 +1241,14 @@ GCPRO1 (pane); menu = Fcons (prompt, Fcons (Fcons (prompt, pane), Qnil)); obj = Fx_popup_dialog (Qt, menu); +#ifndef USE_X_TOOLKIT if (!NILP (obj)) { prompt = build_string ("Confirm"); menu = Fcons (prompt, Fcons (Fcons (prompt, pane), Qnil)); obj = Fx_popup_dialog (Qt, menu); } +#endif UNGCPRO; return obj; }