diff options
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. */ |