summaryrefslogtreecommitdiff
path: root/lisp/term/common-win.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/term/common-win.el')
-rw-r--r--lisp/term/common-win.el10
1 files changed, 10 insertions, 0 deletions
diff --git a/lisp/term/common-win.el b/lisp/term/common-win.el
index 7a48fc04c6c..b219014a73c 100644
--- a/lisp/term/common-win.el
+++ b/lisp/term/common-win.el
@@ -419,6 +419,16 @@ the operating system.")
(setq defined-colors (cons this-color defined-colors))))
defined-colors)))
+;;;; Session management.
+
+(defvar emacs-save-session-functions nil
+ "Special hook run when a save-session event occurs.
+The functions do not get any argument.
+Functions can return non-nil to inform the session manager that the
+window system shutdown should be aborted.
+
+See also `emacs-session-save'.")
+
(provide 'term/common-win)
;;; common-win.el ends here