From: Jan Djärv Date: Tue, 12 Mar 2002 21:15:07 +0000 (+0000) Subject: (emacs-session-save): Add comment that return t means cancel shutdown X-Git-Tag: ttn-vms-21-2-B4~16206 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3842fde1176c867f87b0fb65c0ab68e815b8c419;p=emacs.git (emacs-session-save): Add comment that return t means cancel shutdown --- diff --git a/lisp/term/x-win.el b/lisp/term/x-win.el index 406cc5a3eae..2e09c327a07 100644 --- a/lisp/term/x-win.el +++ b/lisp/term/x-win.el @@ -282,6 +282,7 @@ that it should abort the window system shutdown." (delete-file filename)) (with-current-buffer buf (let ((cancel-shutdown (condition-case nil + ;; A return of t means cancel the shutdown. (run-hook-with-args-until-success 'emacs-save-session-functions) (error t))))