2000-03-22 Kenichi Handa <handa@etl.go.jp>
- * dispextern.h: Define FACE_SUITABLE_FOR_CHAR_P and FACE_FOR_CHAR
- differently for the configuration of --without-x by "ifdef
- HAVE_WINDOW_SYSTEM".
+ * dispextern.h [!HAVE_WINDOW_SYSTEM] (FACE_SUITABLE_FOR_CHAR_P,
+ FACE_FOR_CHAR): Define them differently for the configuration of
+ --without-x.
2000-03-21 Dave Love <fx@gnu.org>
? FRAME_FACE_CACHE (F)->faces_by_id[ID] \
: NULL)
+#ifdef HAVE_WINDOW_SYSTEM
+
/* Non-zero if FACE is suitable for displaying character CHAR. */
#define FACE_SUITABLE_FOR_CHAR_P(FACE, CHAR) \
? (FACE)->ascii_face->id \
: face_for_char ((F), (FACE), (CHAR)))
-/* The default registry and encoding to use. */
+#else /* not HAVE_WINDOW_SYSTEM */
-extern Lisp_Object Vface_default_registry;
+#define FACE_SUITABLE_FOR_CHAR_P(FACE, CHAR) 1
+#define FACE_FOR_CHAR(F, FACE, CHAR) ((FACE)->id)
+
+#endif /* not HAVE_WINDOW_SYSTEM */
/* Non-zero means face attributes have been changed since the last
redisplay. Used in redisplay_internal. */