From: Dan Nicolaescu Date: Mon, 17 Sep 2007 06:34:16 +0000 (+0000) Subject: Delete add-hook calls that were moved to X-Git-Tag: emacs-pretest-23.0.90~10862 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b9451e853868f48f6b495d200fd134a9b31eee58;p=emacs.git Delete add-hook calls that were moved to xterm-mouse-mode. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 340c8c796b1..4c5d7aabd63 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -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 --git a/lisp/xt-mouse.el b/lisp/xt-mouse.el index ab07a0c73c9..ff15cad0399 100644 --- a/lisp/xt-mouse.el +++ b/lisp/xt-mouse.el @@ -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