summaryrefslogtreecommitdiff
path: root/lisp/xt-mouse.el
diff options
context:
space:
mode:
authorDan Nicolaescu <dann@ics.uci.edu>2007-09-04 23:28:49 +0000
committerDan Nicolaescu <dann@ics.uci.edu>2007-09-04 23:28:49 +0000
commite4019195fdc2c3c121057ab29f7f1045b656db81 (patch)
tree4bd9f23653b0965dbd6fb9771815a8560c914c34 /lisp/xt-mouse.el
parenta0236551109c1601b7bf0e9198c374427921a6dc (diff)
downloademacs-e4019195fdc2c3c121057ab29f7f1045b656db81.tar.gz
* server.el (server-start, server-unload-hook): Undo previous
change. * xt-mouse.el: Undo previous change. * term.c (Vsuspend_tty_functions, Vresume_tty_functions) (syms_of_term, Fsuspend_tty, Fresume_tty): Undo previous change.
Diffstat (limited to 'lisp/xt-mouse.el')
-rw-r--r--lisp/xt-mouse.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/xt-mouse.el b/lisp/xt-mouse.el
index 9a2603d57c8..af7a3789df0 100644
--- a/lisp/xt-mouse.el
+++ b/lisp/xt-mouse.el
@@ -251,8 +251,8 @@ down the SHIFT key while pressing the mouse button."
(add-hook 'delete-frame-functions 'xterm-mouse-handle-delete-frame)
;; Restore normal mouse behaviour outside Emacs.
-(add-hook 'suspend-tty-hook 'turn-off-xterm-mouse-tracking-on-terminal)
-(add-hook 'resume-tty-hook 'turn-on-xterm-mouse-tracking-on-terminal)
+(add-hook 'suspend-tty-functions 'turn-off-xterm-mouse-tracking-on-terminal)
+(add-hook 'resume-tty-functions 'turn-on-xterm-mouse-tracking-on-terminal)
(add-hook 'suspend-hook 'turn-off-xterm-mouse-tracking)
(add-hook 'suspend-resume-hook 'turn-on-xterm-mouse-tracking)
(add-hook 'kill-emacs-hook 'turn-off-xterm-mouse-tracking)