diff options
| author | Karoly Lorentey | 2004-07-04 05:23:30 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2004-07-04 05:23:30 +0000 |
| commit | d7e4838fdf4ad2d3ec267bbcd84846abad6bb570 (patch) | |
| tree | 93efa091799e58dd774664cb2e791b91293c24b3 /src | |
| parent | b6660415b3094d37b27e8d303f2c57c4c2a60700 (diff) | |
| download | emacs-d7e4838fdf4ad2d3ec267bbcd84846abad6bb570.tar.gz emacs-d7e4838fdf4ad2d3ec267bbcd84846abad6bb570.zip | |
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
Diffstat (limited to 'src')
| -rw-r--r-- | src/term.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/term.c b/src/term.c index 1628de01045..629c823e8b2 100644 --- a/src/term.c +++ b/src/term.c | |||
| @@ -2133,6 +2133,9 @@ 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. */ |