Mercurial > emacs
changeset 50373:6defa3317421
Fix compilation for --with-x=no.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Mon, 31 Mar 2003 20:41:41 +0000 |
parents | ff37be8c3a2a |
children | 73660951a233 |
files | src/frame.c |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/frame.c Mon Mar 31 20:36:37 2003 +0000 +++ b/src/frame.c Mon Mar 31 20:41:41 2003 +0000 @@ -51,6 +51,8 @@ #endif +#ifdef HAVE_WINDOW_SYSTEM + /* The name we're using in resource queries. Most often "emacs". */ Lisp_Object Vx_resource_name; @@ -60,6 +62,7 @@ Lisp_Object Vx_resource_class; +#endif Lisp_Object Qframep, Qframe_live_p; Lisp_Object Qicon, Qmodeline; @@ -3987,6 +3990,7 @@ } } +#ifdef HAVE_WINDOW_SYSTEM DEFVAR_LISP ("x-resource-name", &Vx_resource_name, doc: /* The name Emacs uses to look up X resources. `x-get-resource' uses this as the first component of the instance name @@ -4010,6 +4014,7 @@ but binding this variable locally around a call to `x-get-resource' is a reasonable practice. See also the variable `x-resource-name'. */); Vx_resource_class = build_string (EMACS_CLASS); +#endif DEFVAR_LISP ("default-frame-alist", &Vdefault_frame_alist, doc: /* Alist of default values for frame creation.