aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDan Nicolaescu2007-09-04 23:28:49 +0000
committerDan Nicolaescu2007-09-04 23:28:49 +0000
commite4019195fdc2c3c121057ab29f7f1045b656db81 (patch)
tree4bd9f23653b0965dbd6fb9771815a8560c914c34 /src
parenta0236551109c1601b7bf0e9198c374427921a6dc (diff)
downloademacs-e4019195fdc2c3c121057ab29f7f1045b656db81.tar.gz
emacs-e4019195fdc2c3c121057ab29f7f1045b656db81.zip
* server.el (server-start, server-unload-hook): Undo previous
change. * xt-mouse.el: Undo previous change. * term.c (Vsuspend_tty_functions, Vresume_tty_functions) (syms_of_term, Fsuspend_tty, Fresume_tty): Undo previous change.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/term.c28
2 files changed, 19 insertions, 14 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 2533d5f0c6c..0675b3a7ad1 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12007-09-04 Dan Nicolaescu <dann@ics.uci.edu>
2
3 * term.c (Vsuspend_tty_functions, Vresume_tty_functions)
4 (syms_of_term, Fsuspend_tty, Fresume_tty): Undo previous change.
5
12007-09-04 Jason Rumney <jasonr@gnu.org> 62007-09-04 Jason Rumney <jasonr@gnu.org>
2 7
3 * term.c (init_tty) [WINDOWSNT]: Add hooks that are not accessible 8 * term.c (init_tty) [WINDOWSNT]: Add hooks that are not accessible
diff --git a/src/term.c b/src/term.c
index d8bf5647e2d..98d3b868349 100644
--- a/src/term.c
+++ b/src/term.c
@@ -124,10 +124,10 @@ static int visible_cursor;
124extern Lisp_Object Qspace, QCalign_to, QCwidth; 124extern Lisp_Object Qspace, QCalign_to, QCwidth;
125 125
126/* Functions to call after suspending a tty. */ 126/* Functions to call after suspending a tty. */
127Lisp_Object Vsuspend_tty_hook; 127Lisp_Object Vsuspend_tty_functions;
128 128
129/* Functions to call after resuming a tty. */ 129/* Functions to call after resuming a tty. */
130Lisp_Object Vresume_tty_hook; 130Lisp_Object Vresume_tty_functions;
131 131
132/* Chain of all tty device parameters. */ 132/* Chain of all tty device parameters. */
133struct tty_display_info *tty_list; 133struct tty_display_info *tty_list;
@@ -2229,7 +2229,7 @@ not updated.
2229TTY may be a terminal id, a frame, or nil for the terminal device of 2229TTY may be a terminal id, a frame, or nil for the terminal device of
2230the currently selected frame. 2230the currently selected frame.
2231 2231
2232This function runs `suspend-tty-hook' after suspending the 2232This function runs `suspend-tty-functions' after suspending the
2233device. The functions are run with one arg, the id of the suspended 2233device. The functions are run with one arg, the id of the suspended
2234terminal device. 2234terminal device.
2235 2235
@@ -2264,11 +2264,11 @@ A suspended tty may be resumed by calling `resume-tty' on it. */)
2264 if (FRAMEP (t->display_info.tty->top_frame)) 2264 if (FRAMEP (t->display_info.tty->top_frame))
2265 FRAME_SET_VISIBLE (XFRAME (t->display_info.tty->top_frame), 0); 2265 FRAME_SET_VISIBLE (XFRAME (t->display_info.tty->top_frame), 0);
2266 2266
2267 /* Run `suspend-tty-hook'. */ 2267 /* Run `suspend-tty-functions'. */
2268 if (!NILP (Vrun_hooks)) 2268 if (!NILP (Vrun_hooks))
2269 { 2269 {
2270 Lisp_Object args[2]; 2270 Lisp_Object args[2];
2271 args[0] = intern ("suspend-tty-hook"); 2271 args[0] = intern ("suspend-tty-functions");
2272 args[1] = make_number (t->id); 2272 args[1] = make_number (t->id);
2273 Frun_hook_with_args (2, args); 2273 Frun_hook_with_args (2, args);
2274 } 2274 }
@@ -2288,7 +2288,7 @@ suspended terminal are revived.
2288It is an error to resume a terminal while another terminal is active 2288It is an error to resume a terminal while another terminal is active
2289on the same device. 2289on the same device.
2290 2290
2291This function runs `resume-tty-hook' after resuming the terminal. 2291This function runs `resume-tty-functions' after resuming the terminal.
2292The functions are run with one arg, the id of the resumed terminal 2292The functions are run with one arg, the id of the resumed terminal
2293device. 2293device.
2294 2294
@@ -2329,11 +2329,11 @@ the currently selected frame. */)
2329 2329
2330 init_sys_modes (t->display_info.tty); 2330 init_sys_modes (t->display_info.tty);
2331 2331
2332 /* Run `resume-tty-hook'. */ 2332 /* Run `resume-tty-functions'. */
2333 if (!NILP (Vrun_hooks)) 2333 if (!NILP (Vrun_hooks))
2334 { 2334 {
2335 Lisp_Object args[2]; 2335 Lisp_Object args[2];
2336 args[0] = intern ("resume-tty-hook"); 2336 args[0] = intern ("resume-tty-functions");
2337 args[1] = make_number (t->id); 2337 args[1] = make_number (t->id);
2338 Frun_hook_with_args (2, args); 2338 Frun_hook_with_args (2, args);
2339 } 2339 }
@@ -3875,18 +3875,18 @@ This variable can be used by terminal emulator packages. */);
3875 system_uses_terminfo = 0; 3875 system_uses_terminfo = 0;
3876#endif 3876#endif
3877 3877
3878 DEFVAR_LISP ("suspend-tty-hook", &Vsuspend_tty_hook, 3878 DEFVAR_LISP ("suspend-tty-functions", &Vsuspend_tty_functions,
3879 doc: /* Hook to be run after suspending a tty. 3879 doc: /* Functions to be run after suspending a tty.
3880The functions are run with one argument, the terminal id to be suspended. 3880The functions are run with one argument, the terminal id to be suspended.
3881See `suspend-tty'. */); 3881See `suspend-tty'. */);
3882 Vsuspend_tty_hook = Qnil; 3882 Vsuspend_tty_functions = Qnil;
3883 3883
3884 3884
3885 DEFVAR_LISP ("resume-tty-hook", &Vresume_tty_hook, 3885 DEFVAR_LISP ("resume-tty-functions", &Vresume_tty_functions,
3886 doc: /* Hook to be run after resuming a tty. 3886 doc: /* Functions to be run after resuming a tty.
3887The functions are run with one argument, the terminal id that was revived. 3887The functions are run with one argument, the terminal id that was revived.
3888See `resume-tty'. */); 3888See `resume-tty'. */);
3889 Vresume_tty_hook = Qnil; 3889 Vresume_tty_functions = Qnil;
3890 3890
3891 DEFVAR_BOOL ("visible-cursor", &visible_cursor, 3891 DEFVAR_BOOL ("visible-cursor", &visible_cursor,
3892 doc: /* Non-nil means to make the cursor very visible. 3892 doc: /* Non-nil means to make the cursor very visible.