(emacs-session-save): Add comment that return t means cancel shutdown

This commit is contained in:
Jan Djärv 2002-03-12 21:15:07 +00:00
parent fa99e2a4ca
commit 3842fde117

View file

@ -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))))