diff options
| author | Tom Tromey | 2012-09-04 10:10:06 -0600 |
|---|---|---|
| committer | Tom Tromey | 2012-09-04 10:10:06 -0600 |
| commit | bf69f522a9e135f9aa483cedd53e71e915f2bf75 (patch) | |
| tree | 3f73c47fb863ef87f420de1d30858da821072bd9 /src/term.c | |
| parent | 303324a9232dbc89369faceb6b3530740d0fc1bd (diff) | |
| parent | 6ec9a5a7b5efb129807f567709ca858211ed7840 (diff) | |
| download | emacs-bf69f522a9e135f9aa483cedd53e71e915f2bf75.tar.gz emacs-bf69f522a9e135f9aa483cedd53e71e915f2bf75.zip | |
merge from trunk
Diffstat (limited to 'src/term.c')
| -rw-r--r-- | src/term.c | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/src/term.c b/src/term.c index 23e074287c1..f1a09b39cf9 100644 --- a/src/term.c +++ b/src/term.c | |||
| @@ -3001,6 +3001,7 @@ init_tty (const char *name, const char *terminal_type, int must_succeed) | |||
| 3001 | #else | 3001 | #else |
| 3002 | tty = xzalloc (sizeof *tty); | 3002 | tty = xzalloc (sizeof *tty); |
| 3003 | #endif | 3003 | #endif |
| 3004 | tty->top_frame = Qnil; | ||
| 3004 | tty->next = tty_list; | 3005 | tty->next = tty_list; |
| 3005 | tty_list = tty; | 3006 | tty_list = tty; |
| 3006 | 3007 | ||
| @@ -3541,22 +3542,6 @@ delete_tty (struct terminal *terminal) | |||
| 3541 | xfree (tty); | 3542 | xfree (tty); |
| 3542 | } | 3543 | } |
| 3543 | 3544 | ||
| 3544 | |||
| 3545 | |||
| 3546 | /* Mark the pointers in the tty_display_info objects. | ||
| 3547 | Called by Fgarbage_collect. */ | ||
| 3548 | |||
| 3549 | void | ||
| 3550 | mark_ttys (void) | ||
| 3551 | { | ||
| 3552 | struct tty_display_info *tty; | ||
| 3553 | |||
| 3554 | for (tty = tty_list; tty; tty = tty->next) | ||
| 3555 | mark_object (tty->top_frame); | ||
| 3556 | } | ||
| 3557 | |||
| 3558 | |||
| 3559 | |||
| 3560 | void | 3545 | void |
| 3561 | syms_of_term (void) | 3546 | syms_of_term (void) |
| 3562 | { | 3547 | { |