[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-28 86b49d5865: ; * etc/NEWS: Announce changes in 'desktop-kill'.
From: |
Eli Zaretskii |
Subject: |
emacs-28 86b49d5865: ; * etc/NEWS: Announce changes in 'desktop-kill'. (Bug#55574) |
Date: |
Mon, 23 May 2022 07:59:22 -0400 (EDT) |
branch: emacs-28
commit 86b49d58652a8f59a3489bf15b367ec224e17ae7
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>
; * etc/NEWS: Announce changes in 'desktop-kill'. (Bug#55574)
---
etc/NEWS | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/etc/NEWS b/etc/NEWS
index a8b5cd08ba..770c96b07b 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -35,6 +35,18 @@ This is a bug-fix release with no new features.
** The command 'kdb-macro-redisplay' was renamed to 'kmacro-redisplay'.
This is to fix an embarrassing typo in the original name.
+** 'desktop-save-mode' now saves the desktop in 'save-buffers-kill-emacs'.
+Previously, the desktop was saved in 'kill-emacs' via
+'kill-emacs-hook'. However, that violated the convention that
+functions in 'kill-emacs-hook' cannot interact with the user, and in
+particular didn't play well with ending daemon sessions of Emacs. So
+we moved the saving of the desktop to 'save-buffers-kill-emacs', via
+'kill-emacs-query-functions'. To make sure the desktop is saved,
+terminate Emacs with 'save-buffers-kill-emacs', not with 'kill-emacs'.
+
+(This change was done in Emacs 28.1, but we didn't announce it in NEWS
+back then.)
+
* New Modes and Packages in Emacs 28.2
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-28 86b49d5865: ; * etc/NEWS: Announce changes in 'desktop-kill'. (Bug#55574),
Eli Zaretskii <=