[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tty_defined_color is called even in non-tty environment
From: |
Takeshi YAMADA |
Subject: |
Re: tty_defined_color is called even in non-tty environment |
Date: |
Fri, 10 Dec 2004 00:22:23 +0900 (JST) |
From: "Eli Zaretskii" <address@hidden>
Subject: Re: tty_defined_color is called even in non-tty environment
Date: Tue, 07 Dec 2004 21:26:07 +0200
> > ! #if defined (HAVE_X_WINDOWS) || defined (WINDOWSNT) || defined (MAC_OS)
>
> I think we should use "#ifdef HAVE_WINDOW_SYSTEM" instead.
>
Yes, you are right.
Please consider the following patch to be applied.
Takeshi
---
*** /yamada/emacs/xfaces.c.org Tue Dec 7 15:52:29 2004
--- /yamada/emacs/xfaces.c
***************
*** 1510,1516 ****
XSETFRAME (frame, f);
return
! #ifdef HAVE_X_WINDOWS
FRAME_WINDOW_P (f)
? (!NILP (Fxw_display_color_p (frame))
|| xstricmp (color_name, "black") == 0
--- 1510,1516 ----
XSETFRAME (frame, f);
return
! #ifdef HAVE_WINDOW_SYSTEM
FRAME_WINDOW_P (f)
? (!NILP (Fxw_display_color_p (frame))
|| xstricmp (color_name, "black") == 0