aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKim F. Storm2003-03-31 20:41:41 +0000
committerKim F. Storm2003-03-31 20:41:41 +0000
commit2731a0ade1c67811317ff9bb961999c50e352e7c (patch)
treeb360d6aed721655f08b2ab4b5f6b545f17d332de /src
parent47103c77537aa3386a83d4dc0102b899655af3bd (diff)
downloademacs-2731a0ade1c67811317ff9bb961999c50e352e7c.tar.gz
emacs-2731a0ade1c67811317ff9bb961999c50e352e7c.zip
Fix compilation for --with-x=no.
Diffstat (limited to 'src')
-rw-r--r--src/frame.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/frame.c b/src/frame.c
index db38075aa3e..c96f350a87f 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -51,6 +51,8 @@ Boston, MA 02111-1307, USA. */
51#endif 51#endif
52 52
53 53
54#ifdef HAVE_WINDOW_SYSTEM
55
54/* The name we're using in resource queries. Most often "emacs". */ 56/* The name we're using in resource queries. Most often "emacs". */
55 57
56Lisp_Object Vx_resource_name; 58Lisp_Object Vx_resource_name;
@@ -60,6 +62,7 @@ Lisp_Object Vx_resource_name;
60 62
61Lisp_Object Vx_resource_class; 63Lisp_Object Vx_resource_class;
62 64
65#endif
63 66
64Lisp_Object Qframep, Qframe_live_p; 67Lisp_Object Qframep, Qframe_live_p;
65Lisp_Object Qicon, Qmodeline; 68Lisp_Object Qicon, Qmodeline;
@@ -3987,6 +3990,7 @@ syms_of_frame ()
3987 } 3990 }
3988 } 3991 }
3989 3992
3993#ifdef HAVE_WINDOW_SYSTEM
3990 DEFVAR_LISP ("x-resource-name", &Vx_resource_name, 3994 DEFVAR_LISP ("x-resource-name", &Vx_resource_name,
3991 doc: /* The name Emacs uses to look up X resources. 3995 doc: /* The name Emacs uses to look up X resources.
3992`x-get-resource' uses this as the first component of the instance name 3996`x-get-resource' uses this as the first component of the instance name
@@ -4010,6 +4014,7 @@ Setting this variable permanently is not a reasonable thing to do,
4010but binding this variable locally around a call to `x-get-resource' 4014but binding this variable locally around a call to `x-get-resource'
4011is a reasonable practice. See also the variable `x-resource-name'. */); 4015is a reasonable practice. See also the variable `x-resource-name'. */);
4012 Vx_resource_class = build_string (EMACS_CLASS); 4016 Vx_resource_class = build_string (EMACS_CLASS);
4017#endif
4013 4018
4014 DEFVAR_LISP ("default-frame-alist", &Vdefault_frame_alist, 4019 DEFVAR_LISP ("default-frame-alist", &Vdefault_frame_alist,
4015 doc: /* Alist of default values for frame creation. 4020 doc: /* Alist of default values for frame creation.