# HG changeset patch # User Dan Nicolaescu # Date 1190010856 0 # Node ID 2982779e4c52fcb33b9e507131167929f4c8aad6 # Parent 1614647d57b03e549ae1b5f3bc2f227dbf221966 Delete add-hook calls that were moved to xterm-mouse-mode. diff -r 1614647d57b0 -r 2982779e4c52 lisp/ChangeLog --- 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 + + * xt-mouse.el: Delete add-hook calls that were moved to + xterm-mouse-mode. + 2007-09-17 Richard Stallman * cus-face.el (custom-theme-set-faces): Undo previous change. diff -r 1614647d57b0 -r 2982779e4c52 lisp/xt-mouse.el --- 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