aboutsummaryrefslogtreecommitdiffstats
path: root/src/xwidget.c
diff options
context:
space:
mode:
authorGrégoire Jadi2013-07-16 19:39:21 +0200
committerGrégoire Jadi2013-07-16 19:39:21 +0200
commit5a422d95aa63713b29d93ffbfd3595d235a026ba (patch)
treec5b3e219679fcac2d6c099293174e296345b0748 /src/xwidget.c
parentb849935e98818a36b2561332514b1f7b6ea356bd (diff)
downloademacs-5a422d95aa63713b29d93ffbfd3595d235a026ba.tar.gz
emacs-5a422d95aa63713b29d93ffbfd3595d235a026ba.zip
* src/xwidget.c (Fmake_xwidget): Set the initial value of `query-on-exit'
flag to t (kill_without_query = !query-on-exit).
Diffstat (limited to 'src/xwidget.c')
-rw-r--r--src/xwidget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xwidget.c b/src/xwidget.c
index 9a039d9a745..ad4e07c6dd2 100644
--- a/src/xwidget.c
+++ b/src/xwidget.c
@@ -209,7 +209,7 @@ TYPE is a symbol which can take one of the following values:
209 209
210 xw->height = XFASTINT(height); 210 xw->height = XFASTINT(height);
211 xw->width = XFASTINT(width); 211 xw->width = XFASTINT(width);
212 xw->kill_without_query = 1; 212 xw->kill_without_query = 0;
213 XSETXWIDGET (val, xw); // set the vectorlike_header of VAL with the correct value 213 XSETXWIDGET (val, xw); // set the vectorlike_header of VAL with the correct value
214 Vxwidget_list = Fcons (val, Vxwidget_list); 214 Vxwidget_list = Fcons (val, Vxwidget_list);
215 xw->widgetwindow_osr = NULL; 215 xw->widgetwindow_osr = NULL;