Mercurial > emacs
changeset 71945:e89be002734a
Fix previous change.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 17 Jul 2006 20:59:54 +0000 |
parents | 270a672fc28c |
children | db54d1f64f25 |
files | src/dispnew.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/dispnew.c Mon Jul 17 20:59:18 2006 +0000 +++ b/src/dispnew.c Mon Jul 17 20:59:54 2006 +0000 @@ -6827,12 +6827,12 @@ \(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); }