mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-30 00:51:50 -08:00
(init_display): Mention DISPLAY as well as TERM in err msg.
This commit is contained in:
parent
7ae038f07e
commit
5d12ff0bed
1 changed files with 9 additions and 3 deletions
|
|
@ -6825,9 +6825,15 @@ init_display ()
|
|||
For types defined in VMS, use set term /device=TYPE.\n\
|
||||
For types not defined in VMS, use define emacs_term \"TYPE\".\n\
|
||||
\(The quotation marks are necessary since terminal types are lower case.)\n");
|
||||
#else
|
||||
fprintf (stderr, "Please set the environment variable TERM; see tset(1).\n");
|
||||
#endif
|
||||
#else /* not VMS */
|
||||
|
||||
#ifdef HAVE_WINDOW_SYSTEM
|
||||
if (inhibit_window_system)
|
||||
fprintf (stderr, "Please set the environment variable TERM; see `tset'.\n");
|
||||
else
|
||||
#endif /* HAVE_WINDOW_SYSTEM */
|
||||
fprintf (stderr, "Please set the environment variable DISPLAY or TERM (see `tset').\n");
|
||||
#endif /* not VMS */
|
||||
exit (1);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue