Mercurial > emacs
changeset 26699:ed4ab9d24450
(Fmessage_or_box): Use use_dialog_box.
author | Dave Love <fx@gnu.org> |
---|---|
date | Fri, 03 Dec 1999 20:48:13 +0000 |
parents | 73f718a9df4b |
children | 61f2605f9e41 |
files | src/editfns.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/editfns.c Fri Dec 03 19:38:44 1999 +0000 +++ b/src/editfns.c Fri Dec 03 20:48:13 1999 +0000 @@ -49,6 +49,7 @@ #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 @@ 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);