Commit 2b815743 authored by Jan Djärv's avatar Jan Djärv

* xsmfns.c (smc_die_CB): Call Fkill_emacs.

Fixes: debbugs:7552
parent e49fb298
2010-12-07 Jan Djärv <jan.h.d@swipnet.se>
* xsmfns.c (smc_die_CB): Call Fkill_emacs (Bug#7552).
2010-12-06 Chong Yidong <cyd@stupidchicken.com>
* dispextern.h (struct it): New member overlay_strings_charpos.
......
......@@ -298,6 +298,10 @@ smc_die_CB (smcConn, clientData)
SmcConn smcConn;
SmPointer clientData;
{
/* This may behave badly if desktop.el tries to ask questions. */
Fkill_emacs (Qnil);
/* This will not be reached, but we want kill-emacs-hook to be run. */
SmcCloseConnection (smcConn, 0, 0);
ice_connection_closed ();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment