aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/xsmfns.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 3293ec08da5..9a92697b52d 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12010-12-07 Jan Djärv <jan.h.d@swipnet.se>
2
3 * xsmfns.c (smc_die_CB): Call Fkill_emacs (Bug#7552).
4
12010-12-06 Chong Yidong <cyd@stupidchicken.com> 52010-12-06 Chong Yidong <cyd@stupidchicken.com>
2 6
3 * dispextern.h (struct it): New member overlay_strings_charpos. 7 * dispextern.h (struct it): New member overlay_strings_charpos.
diff --git a/src/xsmfns.c b/src/xsmfns.c
index ec5ca3b1a9f..f6260d00a56 100644
--- a/src/xsmfns.c
+++ b/src/xsmfns.c
@@ -298,6 +298,10 @@ smc_die_CB (smcConn, clientData)
298 SmcConn smcConn; 298 SmcConn smcConn;
299 SmPointer clientData; 299 SmPointer clientData;
300{ 300{
301 /* This may behave badly if desktop.el tries to ask questions. */
302 Fkill_emacs (Qnil);
303
304 /* This will not be reached, but we want kill-emacs-hook to be run. */
301 SmcCloseConnection (smcConn, 0, 0); 305 SmcCloseConnection (smcConn, 0, 0);
302 ice_connection_closed (); 306 ice_connection_closed ();
303} 307}