[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Exit hooks not run at logout on w32

From: Lennart Borgman
Subject: Re: Exit hooks not run at logout on w32
Date: Tue, 27 Jun 2006 09:35:10 +0200
User-agent: Thunderbird (Windows/20060516)

Jason Rumney wrote:
Lennart Borgman <address@hidden> writes:

Where is the code that discovers that WM_CLOSE has been sent to the
last frame and that Emacs should be killed?

WM_CLOSE is received in w32fns.c and passed on to lisp in w32term.c,
the same as most other windows messages. But I think you will find
that the system does not send a WM_CLOSE in these circumstances,
because that would trigger the exit hooks if it was the case.
It looks like it should be WM_CLOSE, but I am not sure:


Is there some other condition too that Emacs checks?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]