Commit 75cc8ee5 authored by Richard M. Stallman's avatar Richard M. Stallman

(using_x_p): New function.

parent 588064ce
......@@ -249,6 +249,14 @@ check_x ()
error ("X windows are not in use or not initialized");
}
/* Nonzero if using X for display. */
int
using_x_p ()
{
return x_current_display != 0;
}
/* Return the Emacs frame-object corresponding to an X window.
It could be the frame's main window or an icon window. */
......
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