bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#36160: 25.2; Emacs does not ask to save modified files when shutting


From: Glenn Morris
Subject: bug#36160: 25.2; Emacs does not ask to save modified files when shutting down OS
Date: Thu, 13 Jun 2019 14:56:31 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Glenn Morris wrote:

> Shutdown sends SIGTERM, so Emacs could (auto)save on receipt of that
> signal (if it doesn't already do so?).

And SIGTERM triggers kill-emacs, which runs kill-emacs-hook, so if you
want some (unprompted) saving, you could do it with that hook.





reply via email to

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