Subject: Re: bug#55574: 28.1; desktop-kill not included in kill-emacs-hook anymore

From: Eli Zaretskii <[email-masked]>
Date: Mon, 23 May 2022 15:00:30 +0300

> Date: Sun, 22 May 2022 13:23:03 -0000
> From: [email-masked]
> 
> 
> Before Emacs 28, `desktop-kill` was included in `kill-emacs-hook` if
> `desktop-save-mode` was enabled.
> 
> In Emacs 28, `desktop-kill` is included in `kill-emacs-query-functions`
> instead. Therefore the desktop is not saved and the desktop lock not
> removed when `kill-emacs` is used to exit Emacs.
> 
> Unfortunately, the new behavior is not documented in the NEWS file.

I've now documented this in NEWS, and I'm therefore closing the bug.

Thanks.