(emacs-session-save): Add comment that return t means cancel shutdown
This commit is contained in:
parent
fa99e2a4ca
commit
3842fde117
1 changed files with 1 additions and 0 deletions
|
@ -282,6 +282,7 @@ that it should abort the window system shutdown."
|
||||||
(delete-file filename))
|
(delete-file filename))
|
||||||
(with-current-buffer buf
|
(with-current-buffer buf
|
||||||
(let ((cancel-shutdown (condition-case nil
|
(let ((cancel-shutdown (condition-case nil
|
||||||
|
;; A return of t means cancel the shutdown.
|
||||||
(run-hook-with-args-until-success
|
(run-hook-with-args-until-success
|
||||||
'emacs-save-session-functions)
|
'emacs-save-session-functions)
|
||||||
(error t))))
|
(error t))))
|
||||||
|
|
Loading…
Add table
Reference in a new issue