diff options
| author | Dan Nicolaescu | 2007-09-17 06:34:16 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 2007-09-17 06:34:16 +0000 |
| commit | b9451e853868f48f6b495d200fd134a9b31eee58 (patch) | |
| tree | 4e9dacb829d2e5900042e662d4435a42bd4902cc /lisp | |
| parent | 578b4e9deeca92fa33d8e46c3e234b224169880d (diff) | |
| download | emacs-b9451e853868f48f6b495d200fd134a9b31eee58.tar.gz emacs-b9451e853868f48f6b495d200fd134a9b31eee58.zip | |
Delete add-hook calls that were moved to
xterm-mouse-mode.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/xt-mouse.el | 11 |
2 files changed, 5 insertions, 11 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 340c8c796b1..4c5d7aabd63 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2007-09-17 Dan Nicolaescu <dann@ics.uci.edu> | ||
| 2 | |||
| 3 | * xt-mouse.el: Delete add-hook calls that were moved to | ||
| 4 | xterm-mouse-mode. | ||
| 5 | |||
| 1 | 2007-09-17 Richard Stallman <rms@gnu.org> | 6 | 2007-09-17 Richard Stallman <rms@gnu.org> |
| 2 | 7 | ||
| 3 | * cus-face.el (custom-theme-set-faces): Undo previous change. | 8 | * 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." | |||
| 269 | (<= 1 (length (frames-on-display-list (frame-terminal frame))))) | 269 | (<= 1 (length (frames-on-display-list (frame-terminal frame))))) |
| 270 | (turn-off-xterm-mouse-tracking-on-terminal frame))) | 270 | (turn-off-xterm-mouse-tracking-on-terminal frame))) |
| 271 | 271 | ||
| 272 | ;; Frame creation and deletion. | ||
| 273 | (add-hook 'after-make-frame-functions 'turn-on-xterm-mouse-tracking-on-terminal) | ||
| 274 | (add-hook 'delete-frame-functions 'xterm-mouse-handle-delete-frame) | ||
| 275 | |||
| 276 | ;; Restore normal mouse behaviour outside Emacs. | ||
| 277 | (add-hook 'suspend-tty-functions 'turn-off-xterm-mouse-tracking-on-terminal) | ||
| 278 | (add-hook 'resume-tty-functions 'turn-on-xterm-mouse-tracking-on-terminal) | ||
| 279 | (add-hook 'suspend-hook 'turn-off-xterm-mouse-tracking) | ||
| 280 | (add-hook 'suspend-resume-hook 'turn-on-xterm-mouse-tracking) | ||
| 281 | (add-hook 'kill-emacs-hook 'turn-off-xterm-mouse-tracking) | ||
| 282 | |||
| 283 | (provide 'xt-mouse) | 272 | (provide 'xt-mouse) |
| 284 | 273 | ||
| 285 | ;; arch-tag: 84962d4e-fae9-4c13-a9d7-ef4925a4ac03 | 274 | ;; arch-tag: 84962d4e-fae9-4c13-a9d7-ef4925a4ac03 |