summaryrefslogtreecommitdiff
path: root/lisp/server.el
diff options
context:
space:
mode:
authorDan Nicolaescu <dann@ics.uci.edu>2007-09-04 15:44:11 +0000
committerDan Nicolaescu <dann@ics.uci.edu>2007-09-04 15:44:11 +0000
commit92cd6a7c40a7db9ae2b8855ab41bf3b5e6b9133c (patch)
treeea0c5c8cf7a344348b064e2e24b6bf49ee54bb97 /lisp/server.el
parent84a7b24341fc3a5bf5ffb12224bcaee928fc03f1 (diff)
downloademacs-92cd6a7c40a7db9ae2b8855ab41bf3b5e6b9133c.tar.gz
* server.el (server-start, server-unload-hook):
suspend-tty-functions has been renamed to suspend-tty-hook. * xt-mouse.el: Likewise. resume-tty-functions has been renamed to resume-tty-hook. * term.c (Vsuspend_tty_hook): Rename from Vsuspend_tty_functions. (Vresume_tty_hook): Rename from Vresume_tty_functions. (syms_of_term): Rename suspend-tty-functions to suspend-tty-hook and resume-tty-function to resume-tty-hook. (Fsuspend_tty, Fresume_tty): Use new names.
Diffstat (limited to 'lisp/server.el')
-rw-r--r--lisp/server.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/server.el b/lisp/server.el
index be271051095..44dbb8484a9 100644
--- a/lisp/server.el
+++ b/lisp/server.el
@@ -485,7 +485,7 @@ kill any existing server communications subprocess."
(when server-process
(server-log (message "Restarting server")))
(letf (((default-file-modes) ?\700))
- (add-hook 'suspend-tty-functions 'server-handle-suspend-tty)
+ (add-hook 'suspend-tty-hook 'server-handle-suspend-tty)
(add-hook 'delete-frame-functions 'server-handle-delete-frame)
(add-hook 'kill-buffer-query-functions 'server-kill-buffer-query-function)
(add-hook 'kill-emacs-query-functions 'server-kill-emacs-query-function)
@@ -1225,7 +1225,7 @@ only these files will be asked to be saved."
(defun server-unload-hook ()
"Unload the server library."
(server-mode -1)
- (remove-hook 'suspend-tty-functions 'server-handle-suspend-tty)
+ (remove-hook 'suspend-tty-hook 'server-handle-suspend-tty)
(remove-hook 'delete-frame-functions 'server-handle-delete-frame)
(remove-hook 'kill-buffer-query-functions 'server-kill-buffer-query-function)
(remove-hook 'kill-emacs-query-functions 'server-kill-emacs-query-function)