Commit 3842fde1 authored by Jan Djärv's avatar Jan Djärv
Browse files

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

parent fa99e2a4
......@@ -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))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment