Remove mark_ttys function and fix tty_display_info initialization.
authorDmitry Antipov <dmantipov@yandex.ru>
Fri, 31 Aug 2012 10:53:19 +0000 (14:53 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Fri, 31 Aug 2012 10:53:19 +0000 (14:53 +0400)
commitc650a5dec69902c684c5333befd35da6c518c5e0
treede6c150f78fa24b78a9dc3e3bdb319d5f40ab470
parentc20643e2105117277d0b1d1880848e2ab31b967c
Remove mark_ttys function and fix tty_display_info initialization.
* lisp.h (mark_ttys): Remove prototype.
* alloc.c (Fgarbage_collect): Remove redundant (and the only) call
to mark_ttys because all possible values of 'top_frame' slot are
the frames which are reachable from Vframe_list.
* term.c (mark_ttys): Remove.
(init_tty): Safely initialize 'top_frame' slot with Qnil.
src/ChangeLog
src/alloc.c
src/lisp.h
src/term.c