diff options
author | Richard M. Stallman <rms@gnu.org> | 2006-07-17 20:59:54 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2006-07-17 20:59:54 +0000 |
commit | 0c20bc7ce4879f84a7c5dd563e1d6de52b3e51f7 (patch) | |
tree | 508213e69ac2797e0026eabac8ca85f59ba6bf0b /src/dispnew.c | |
parent | c1373782aefe266ddde485dc283f1f344aef4ee8 (diff) | |
download | emacs-0c20bc7ce4879f84a7c5dd563e1d6de52b3e51f7.tar.gz |
Fix previous change.
Diffstat (limited to 'src/dispnew.c')
-rw-r--r-- | src/dispnew.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dispnew.c b/src/dispnew.c index a0dc95a2ba8..43c35243281 100644 --- a/src/dispnew.c +++ b/src/dispnew.c @@ -6827,12 +6827,12 @@ 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 /* not VMS */ -#ifdef HAVE_WINDOW_SYSTEM - if (inhibit_window_system) - fprintf (stderr, "Please set the environment variable TERM; see `tset'.\n"); +#ifndef HAVE_WINDOW_SYSTEM + if (! inhibit_window_system) + fprintf (stderr, "Please set the environment variable DISPLAY or TERM (see `tset').\n"); else #endif /* HAVE_WINDOW_SYSTEM */ - fprintf (stderr, "Please set the environment variable DISPLAY or TERM (see `tset').\n"); + fprintf (stderr, "Please set the environment variable TERM; see `tset'.\n"); #endif /* not VMS */ exit (1); } |