# HG changeset patch # User Jan Dj¸«£rv # Date 1015967707 0 # Node ID 606bb58da5c4f3dc589ca1a842cbb0bc58042b1e # Parent aa8ab3ba14d1f85bcec8b6217ec028aa0ef1d3ea (emacs-session-save): Add comment that return t means cancel shutdown diff -r aa8ab3ba14d1 -r 606bb58da5c4 lisp/term/x-win.el --- a/lisp/term/x-win.el Tue Mar 12 20:27:24 2002 +0000 +++ b/lisp/term/x-win.el Tue Mar 12 21:15:07 2002 +0000 @@ -282,6 +282,7 @@ (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))))