* dispnew.c (init_display): Don't init X display if the user asked

for a non-X display.
This commit is contained in:
Jan Djärv 2006-04-12 06:23:12 +00:00
parent 957b3c5f2f
commit 00d70d574c
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2006-04-11 Micha,Ak(Bl Cadilhac <michael.cadilhac@lrde.org> (tiny change)
* dispnew.c (init_display): Don't init X display if the user asked
for a non-X display.
2006-04-12 Kenichi Handa <handa@m17n.org>
* coding.c (setup_coding_system): Use system_eol_type for default

View file

@ -6654,7 +6654,7 @@ init_display ()
try to use X, and die with an error message if that doesn't work. */
#ifdef HAVE_X_WINDOWS
if (! display_arg)
if (! inhibit_window_system && ! display_arg)
{
char *display;
#ifdef VMS