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.el11
1 files changed, 10 insertions, 1 deletions
diff --git a/lisp/term/common-win.el b/lisp/term/common-win.el
index 7a48fc04c6c..6f1e322aba5 100644
--- a/lisp/term/common-win.el
+++ b/lisp/term/common-win.el
@@ -65,7 +65,6 @@
(cons 4 'ns-drag-file)
(cons 5 'ns-drag-color)
(cons 6 'ns-drag-text)
- (cons 7 'ns-change-font)
(cons 8 'ns-open-file-line)
;;; (cons 9 'ns-insert-working-text)
;;; (cons 10 'ns-delete-working-text)
@@ -419,6 +418,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