diff options
| author | Dmitry Antipov | 2012-08-31 14:53:19 +0400 |
|---|---|---|
| committer | Dmitry Antipov | 2012-08-31 14:53:19 +0400 |
| commit | c650a5dec69902c684c5333befd35da6c518c5e0 (patch) | |
| tree | de6c150f78fa24b78a9dc3e3bdb319d5f40ab470 /src/alloc.c | |
| parent | c20643e2105117277d0b1d1880848e2ab31b967c (diff) | |
| download | emacs-c650a5dec69902c684c5333befd35da6c518c5e0.tar.gz emacs-c650a5dec69902c684c5333befd35da6c518c5e0.zip | |
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.
Diffstat (limited to 'src/alloc.c')
| -rw-r--r-- | src/alloc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/alloc.c b/src/alloc.c index 36ba22cc535..e8637471bc7 100644 --- a/src/alloc.c +++ b/src/alloc.c | |||
| @@ -5476,7 +5476,6 @@ See Info node `(elisp)Garbage Collection'. */) | |||
| 5476 | } | 5476 | } |
| 5477 | mark_terminals (); | 5477 | mark_terminals (); |
| 5478 | mark_kboards (); | 5478 | mark_kboards (); |
| 5479 | mark_ttys (); | ||
| 5480 | 5479 | ||
| 5481 | #ifdef USE_GTK | 5480 | #ifdef USE_GTK |
| 5482 | { | 5481 | { |