diff options
| -rw-r--r-- | src/dispnew.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/dispnew.c b/src/dispnew.c index cf0d8668906..a0dc95a2ba8 100644 --- a/src/dispnew.c +++ b/src/dispnew.c | |||
| @@ -6825,9 +6825,15 @@ init_display () | |||
| 6825 | For types defined in VMS, use set term /device=TYPE.\n\ | 6825 | For types defined in VMS, use set term /device=TYPE.\n\ |
| 6826 | For types not defined in VMS, use define emacs_term \"TYPE\".\n\ | 6826 | For types not defined in VMS, use define emacs_term \"TYPE\".\n\ |
| 6827 | \(The quotation marks are necessary since terminal types are lower case.)\n"); | 6827 | \(The quotation marks are necessary since terminal types are lower case.)\n"); |
| 6828 | #else | 6828 | #else /* not VMS */ |
| 6829 | fprintf (stderr, "Please set the environment variable TERM; see tset(1).\n"); | 6829 | |
| 6830 | #endif | 6830 | #ifdef HAVE_WINDOW_SYSTEM |
| 6831 | if (inhibit_window_system) | ||
| 6832 | fprintf (stderr, "Please set the environment variable TERM; see `tset'.\n"); | ||
| 6833 | else | ||
| 6834 | #endif /* HAVE_WINDOW_SYSTEM */ | ||
| 6835 | fprintf (stderr, "Please set the environment variable DISPLAY or TERM (see `tset').\n"); | ||
| 6836 | #endif /* not VMS */ | ||
| 6831 | exit (1); | 6837 | exit (1); |
| 6832 | } | 6838 | } |
| 6833 | 6839 | ||