Commit 6a46b96b authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

(face_color_supported_p): Use HAVE_WINDOW_SYSTEM

instead of HAVE_X_WINDOWS, for non-X windowed sessions.
parent 13b9acf0
......@@ -1513,7 +1513,7 @@ face_color_supported_p (f, color_name, background_p)
XSETFRAME (frame, f);
return
#ifdef HAVE_X_WINDOWS
#ifdef HAVE_WINDOW_SYSTEM
FRAME_WINDOW_P (f)
? (!NILP (Fxw_display_color_p (frame))
|| xstricmp (color_name, "black") == 0
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment