diff options
| author | Richard M. Stallman | 2006-07-17 20:59:18 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2006-07-17 20:59:18 +0000 |
| commit | 5d12ff0bed31f22ca4e060ac3245cf424b88dc84 (patch) | |
| tree | d4361cb59f4731f408411c713e8a6e67448500f5 | |
| parent | 7ae038f07e21a0fab4f515bb39c0340a66af1d84 (diff) | |
| download | emacs-5d12ff0bed31f22ca4e060ac3245cf424b88dc84.tar.gz emacs-5d12ff0bed31f22ca4e060ac3245cf424b88dc84.zip | |
(init_display): Mention DISPLAY as well as TERM in err msg.
| -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 | ||