]> git.eshelyaron.com Git - emacs.git/commit
Move call to Fkill_emacs from signal handler (session event) (Bug#7552).
authorJan Djärv <jan.h.d@swipnet.se>
Fri, 10 Dec 2010 18:23:43 +0000 (19:23 +0100)
committerJan Djärv <jan.h.d@swipnet.se>
Fri, 10 Dec 2010 18:23:43 +0000 (19:23 +0100)
commit0b9fc69a7651c4a36ab4616f5f7d1c2f48fed783
treea36fb239082c71619eea44171798e2d75a5b3a6e
parent1f10e75066b557174bb475c735bd74a725000a4a
Move call to Fkill_emacs from signal handler (session event) (Bug#7552).

* keyboard.c (kbd_buffer_get_event): Construct SAVE_SESSION_EVENT
as (Qsave_session arg).

* xsmfns.c (smc_interact_CB): Set arg to Qnil.
(smc_die_CB): Make an event with arg Qt.
(Fhandle_save_session): If event has Qt as argument,
call Fkill_emacs.
src/ChangeLog
src/keyboard.c
src/xsmfns.c