+2008-05-30 Kenichi Handa <handa@m17n.org>
+
+ * font.c (Ffont_info): Define only if HAVE_WINDOW_SYSTEM is
+ defined.
+ (syms_of_font): Defsubr Sfont_info only if HAVE_WINDOW_SYSTEM is
+ defined.
+
2008-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
* data.c (Fmake_variable_buffer_local, Fmake_local_variable)
#endif /* FONT_DEBUG */
+#ifdef HAVE_WINDOW_SYSTEM
+
DEFUN ("font-info", Ffont_info, Sfont_info, 1, 2, 0,
doc: /* Return information about a font named NAME on frame FRAME.
If FRAME is omitted or nil, use the selected frame.
#endif
return info;
}
+#endif
\f
#define BUILD_STYLE_TABLE(TBL) \
defsubr (&Sdraw_string);
#endif
#endif /* FONT_DEBUG */
+#ifdef HAVE_WINDOW_SYSTEM
defsubr (&Sfont_info);
+#endif
DEFVAR_LISP ("font-encoding-alist", &Vfont_encoding_alist,
doc: /*