Subject: Re: bug#23483: 24.5; cygwin emacs w32 doesn not ask to save files when windows shuts down

From: Eli Zaretskii <[email-masked]>
Date: Thu, 12 May 2016 19:56:44 +0300

> Cc: [email-masked], [email-masked]
> From: Ken Brown <[email-masked]>
> Date: Thu, 12 May 2016 09:57:58 -0400
> 
> On 5/10/2016 12:32 PM, Eli Zaretskii wrote:
> > What I think we need to do instead is send a message to the main
> > thread that will produce a special event, and then bind that event to
> > kill-emacs (probably in special-event-map).
> 
> Thanks.  My attempt to implement this is attached.

Thanks.

Did you try this when some of the buffers have unsaved changes?  I'm
thinking about questions Emacs might ask then.

If that is not a problem, feel free to commit to master.