[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: |
Eli Zaretskii |
Subject: |
bug#36160: 25.2; Emacs does not ask to save modified files when shutting down OS |
Date: |
Thu, 13 Jun 2019 22:24:32 +0300 |
> From: Glenn Morris <rgm@gnu.org>
> Date: Thu, 13 Jun 2019 13:36:21 -0400
> Cc: 36160@debbugs.gnu.org, Johan Pretorius <pretoriusjf@gmail.com>
>
> Shutdown sends SIGTERM, so Emacs could (auto)save on receipt of that
> signal (if it doesn't already do so?).
AFAIU, we don't: we just call kill-emacs.
But how to distinguish SIGTERM due to system shutdown and SIGTERM when
the user triggers the signal?