changeset 84615:2982779e4c52

Delete add-hook calls that were moved to xterm-mouse-mode.
author Dan Nicolaescu <dann@ics.uci.edu>
date Mon, 17 Sep 2007 06:34:16 +0000
parents 1614647d57b0
children b3e66fa9fc66
files lisp/ChangeLog lisp/xt-mouse.el
diffstat 2 files changed, 5 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Mon Sep 17 02:55:37 2007 +0000
+++ b/lisp/ChangeLog	Mon Sep 17 06:34:16 2007 +0000
@@ -1,3 +1,8 @@
+2007-09-17  Dan Nicolaescu  <dann@ics.uci.edu>
+
+	* xt-mouse.el: Delete add-hook calls that were moved to
+	xterm-mouse-mode.
+
 2007-09-17  Richard Stallman  <rms@gnu.org>
 
 	* cus-face.el (custom-theme-set-faces): Undo previous change.
--- a/lisp/xt-mouse.el	Mon Sep 17 02:55:37 2007 +0000
+++ b/lisp/xt-mouse.el	Mon Sep 17 06:34:16 2007 +0000
@@ -269,17 +269,6 @@
 	     (<= 1 (length (frames-on-display-list (frame-terminal frame)))))
     (turn-off-xterm-mouse-tracking-on-terminal frame)))
 
-;; Frame creation and deletion.
-(add-hook 'after-make-frame-functions 'turn-on-xterm-mouse-tracking-on-terminal)
-(add-hook 'delete-frame-functions 'xterm-mouse-handle-delete-frame)
-
-;; Restore normal mouse behaviour outside Emacs.
-(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)
-
 (provide 'xt-mouse)
 
 ;; arch-tag: 84962d4e-fae9-4c13-a9d7-ef4925a4ac03