From: Eli Zaretskii Date: Sun, 22 May 2022 05:28:16 +0000 (+0300) Subject: ; * lisp/desktop.el: Update the commentary. (Bug#55560) X-Git-Tag: emacs-28.1.90~70 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b05d1e9b98673796acaf7defcf7581c1780e996f;p=emacs.git ; * lisp/desktop.el: Update the commentary. (Bug#55560) --- 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. ;; -----------------