From 5920df330c3f6372b9d4766bb89dc1d57b502fa5 Mon Sep 17 00:00:00 2001 From: Dave Love Date: Fri, 3 Dec 1999 20:48:13 +0000 Subject: [PATCH] (Fmessage_or_box): Use use_dialog_box. --- src/editfns.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/editfns.c b/src/editfns.c index 5856e91c859..a54fb1363d3 100644 --- a/src/editfns.c +++ b/src/editfns.c @@ -49,6 +49,7 @@ Boston, MA 02111-1307, USA. */ #endif extern char **environ; +extern int use_dialog_box; extern Lisp_Object make_time (); extern void insert_from_buffer (); static int tm_diff (); @@ -2750,7 +2751,8 @@ minibuffer contents show.") Lisp_Object *args; { #ifdef HAVE_MENUS - if (NILP (last_nonmenu_event) || CONSP (last_nonmenu_event)) + if ((NILP (last_nonmenu_event) || CONSP (last_nonmenu_event)) + && NILP (use_dialog_box)) return Fmessage_box (nargs, args); #endif return Fmessage (nargs, args); -- 2.39.5