(x-parse-geometry, x-list-fonts): call check_x.
\f
/* Error if we are not connected to X. */
-static void
+void
check_x ()
{
if (x_current_display == 0)
unsigned int width, height;
Lisp_Object values[4];
+ check_x ();
CHECK_STRING (string, 0);
geometry = XParseGeometry ((char *) XSTRING (string)->data,
XFontStruct *size_ref;
Lisp_Object list;
+ check_x ();
CHECK_STRING (pattern, 0);
if (!NILP (face))
CHECK_SYMBOL (face, 1);