Delete add-hook calls that were moved to
authorDan Nicolaescu <dann@ics.uci.edu>
Mon, 17 Sep 2007 06:34:16 +0000 (06:34 +0000)
committerDan Nicolaescu <dann@ics.uci.edu>
Mon, 17 Sep 2007 06:34:16 +0000 (06:34 +0000)
xterm-mouse-mode.

lisp/ChangeLog
lisp/xt-mouse.el

index 340c8c7..4c5d7aa 100644 (file)
@@ -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.
index ab07a0c..ff15cad 100644 (file)
@@ -269,17 +269,6 @@ down the SHIFT key while pressing the mouse button."
             (<= 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