From b05d1e9b98673796acaf7defcf7581c1780e996f Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sun, 22 May 2022 08:28:16 +0300 Subject: [PATCH] ; * lisp/desktop.el: Update the commentary. (Bug#55560) --- lisp/desktop.el | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lisp/desktop.el b/lisp/desktop.el index 51c56faebb5..041dbcf7c11 100644 --- a/lisp/desktop.el +++ b/lisp/desktop.el @@ -44,10 +44,11 @@ ;; (info "(emacs)Saving Emacs Sessions") in the GNU Emacs Manual. ;; When the desktop module is loaded, the function `desktop-kill' is -;; added to the `kill-emacs-hook'. This function is responsible for -;; saving the desktop when Emacs is killed. Furthermore an anonymous -;; function is added to the `after-init-hook'. This function is -;; responsible for loading the desktop when Emacs is started. +;; added to the `kill-emacs-query-functions'. This function is +;; responsible for saving the desktop and deleting the desktop lock +;; file when Emacs is killed. In addition, an anonymous function is +;; added to the `after-init-hook'. This function is responsible for +;; loading the desktop when Emacs is started. ;; Special handling. ;; ----------------- -- 2.39.2