comparison src/term.c @ 83168:856533c4b08f

Fix bootstrap errors. * src/term.c (get_tty_display): Don't signal an error on the initial frame. git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-208
author Karoly Lorentey <lorentey@elte.hu>
date Sun, 04 Jul 2004 05:23:30 +0000
parents 69ebc75cb461
children 6b4b299e2cd5
comparison
equal deleted inserted replaced
83167:69ebc75cb461 83168:856533c4b08f
2131 static struct display * 2131 static struct display *
2132 get_tty_display (Lisp_Object display) 2132 get_tty_display (Lisp_Object display)
2133 { 2133 {
2134 struct display *d = get_display (display); 2134 struct display *d = get_display (display);
2135 2135
2136 if (d && d->type == output_initial)
2137 d = NULL;
2138
2136 if (d && d->type != output_termcap) 2139 if (d && d->type != output_termcap)
2137 { 2140 {
2138 #if 0 /* XXX We need a predicate as the first argument; find one. */ 2141 #if 0 /* XXX We need a predicate as the first argument; find one. */
2139 wrong_type_argument ("Not a termcap display", display); 2142 wrong_type_argument ("Not a termcap display", display);
2140 #else /* Until we fix the wrong_type_argument call above, simply throw 2143 #else /* Until we fix the wrong_type_argument call above, simply throw