[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/term.c,v
From: |
Dan Nicolaescu |
Subject: |
[Emacs-diffs] Changes to emacs/src/term.c,v |
Date: |
Fri, 21 Sep 2007 20:19:13 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Dan Nicolaescu <dann> 07/09/21 20:19:13
Index: src/term.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/term.c,v
retrieving revision 1.200
retrieving revision 1.201
diff -u -b -r1.200 -r1.201
--- src/term.c 21 Sep 2007 17:10:47 -0000 1.200
+++ src/term.c 21 Sep 2007 20:19:09 -0000 1.201
@@ -2244,6 +2244,17 @@
if (f)
{
+ /* First run `suspend-tty-functions' and then clean up the tty
+ state because `suspend-tty-functions' might need to change
+ the tty state. */
+ if (!NILP (Vrun_hooks))
+ {
+ Lisp_Object args[2];
+ args[0] = intern ("suspend-tty-functions");
+ XSETTERMINAL (args[1], t);
+ Frun_hook_with_args (2, args);
+ }
+
reset_sys_modes (t->display_info.tty);
delete_keyboard_wait_descriptor (fileno (f));
@@ -2258,14 +2269,6 @@
if (FRAMEP (t->display_info.tty->top_frame))
FRAME_SET_VISIBLE (XFRAME (t->display_info.tty->top_frame), 0);
- /* Run `suspend-tty-functions'. */
- if (!NILP (Vrun_hooks))
- {
- Lisp_Object args[2];
- args[0] = intern ("suspend-tty-functions");
- XSETTERMINAL (args[1], t);
- Frun_hook_with_args (2, args);
- }
}
/* Clear display hooks to prevent further output. */
- [Emacs-diffs] Changes to emacs/src/term.c,v, Dan Nicolaescu, 2007/09/04
- [Emacs-diffs] Changes to emacs/src/term.c,v, Jason Rumney, 2007/09/04
- [Emacs-diffs] Changes to emacs/src/term.c,v, Jason Rumney, 2007/09/04
- [Emacs-diffs] Changes to emacs/src/term.c,v, Dan Nicolaescu, 2007/09/04
- [Emacs-diffs] Changes to emacs/src/term.c,v, Dan Nicolaescu, 2007/09/06
- [Emacs-diffs] Changes to emacs/src/term.c,v, Dan Nicolaescu, 2007/09/10
- [Emacs-diffs] Changes to emacs/src/term.c,v, Stefan Monnier, 2007/09/20
- [Emacs-diffs] Changes to emacs/src/term.c,v, Stefan Monnier, 2007/09/21
- [Emacs-diffs] Changes to emacs/src/term.c,v,
Dan Nicolaescu <=
- [Emacs-diffs] Changes to emacs/src/term.c,v, Eli Zaretskii, 2007/09/22
- [Emacs-diffs] Changes to emacs/src/term.c,v, Jason Rumney, 2007/09/25
- [Emacs-diffs] Changes to emacs/src/term.c,v, Stefan Monnier, 2007/09/27
- [Emacs-diffs] Changes to emacs/src/term.c,v, Stefan Monnier, 2007/09/28
- [Emacs-diffs] Changes to emacs/src/term.c,v, Stefan Monnier, 2007/09/28
- [Emacs-diffs] Changes to emacs/src/term.c,v, Stefan Monnier, 2007/09/29