]> code.delx.au - gnu-emacs/commitdiff
(emacs-session-save): Add comment that return t means cancel shutdown
authorJan Djärv <jan.h.d@swipnet.se>
Tue, 12 Mar 2002 21:15:07 +0000 (21:15 +0000)
committerJan Djärv <jan.h.d@swipnet.se>
Tue, 12 Mar 2002 21:15:07 +0000 (21:15 +0000)
lisp/term/x-win.el

index 406cc5a3eaef1ec8a5291f197e09806eba95ade3..2e09c327a07c9fe4050297d6eb6837279c330e15 100644 (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))))