1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-04 02:51:31 -08:00

* server.el (server-start, server-unload-hook):

suspend-tty-functions has been renamed to suspend-tty-hook.

* xt-mouse.el: Likewise. resume-tty-functions has been renamed to
resume-tty-hook.

* term.c (Vsuspend_tty_hook): Rename from Vsuspend_tty_functions.
(Vresume_tty_hook): Rename from Vresume_tty_functions.
(syms_of_term): Rename suspend-tty-functions to suspend-tty-hook
and resume-tty-function to resume-tty-hook.
(Fsuspend_tty, Fresume_tty): Use new names.
This commit is contained in:
Dan Nicolaescu 2007-09-04 15:44:11 +00:00
parent 84a7b24341
commit 92cd6a7c40
6 changed files with 39 additions and 18 deletions

View file

@ -251,8 +251,8 @@ down the SHIFT key while pressing the mouse button."
(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-tty-hook 'turn-off-xterm-mouse-tracking-on-terminal)
(add-hook 'resume-tty-hook '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)