aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1994-07-11 00:48:47 +0000
committerRichard M. Stallman <[email protected]>1994-07-11 00:48:47 +0000
commitf1d238efb3be08f7a9fa6168e28631584ef8897f (patch)
tree467d2f652639ff1ef7e02d99c177ef643887a1f0 /src
parent7cab5d2c25be17461782e1e82a92d2844283e6b0 (diff)
(syms_of_xfns): Provide x-toolkit in toolkit version.
Undo previous change. (x_toolkit): Variable deleted.
Diffstat (limited to 'src')
-rw-r--r--src/xfns.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/xfns.c b/src/xfns.c
index c138c4cacb..b111c120f8 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -90,9 +90,6 @@ extern void free_frame_menubar ();
/* X Resource data base */
static XrmDatabase xrdb;
-/* 1 if using a toolkit, 0 otherwise. */
-static int x_toolkit;
-
/* The class of this X application. */
#define EMACS_CLASS "Emacs"
@@ -4447,12 +4444,8 @@ or when you set the mouse color.");
DEFVAR_LISP ("x-no-window-manager", &Vx_no_window_manager,
"Non-nil if no X window manager is in use.");
- DEFVAR_BOOL ("x-toolkit", &x_toolkit,
- "Non-nil if this Emacs was built to use an X toolkit.");
#ifdef USE_X_TOOLKIT
- x_toolkit = 1;
-#else
- x_toolkit = 0;
+ Fprovide (intern ("x-toolkit"));
#endif
#ifdef HAVE_X11