diff options
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 | { |