aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1994-07-11 00:48:47 +0000
committerRichard M. Stallman1994-07-11 00:48:47 +0000
commitf1d238efb3be08f7a9fa6168e28631584ef8897f (patch)
tree467d2f652639ff1ef7e02d99c177ef643887a1f0 /src
parent7cab5d2c25be17461782e1e82a92d2844283e6b0 (diff)
downloademacs-f1d238efb3be08f7a9fa6168e28631584ef8897f.tar.gz
emacs-f1d238efb3be08f7a9fa6168e28631584ef8897f.zip
(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 c138c4cacb1..b111c120f8a 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -90,9 +90,6 @@ extern void free_frame_menubar ();
90/* X Resource data base */ 90/* X Resource data base */
91static XrmDatabase xrdb; 91static XrmDatabase xrdb;
92 92
93/* 1 if using a toolkit, 0 otherwise. */
94static int x_toolkit;
95
96/* The class of this X application. */ 93/* The class of this X application. */
97#define EMACS_CLASS "Emacs" 94#define EMACS_CLASS "Emacs"
98 95
@@ -4447,12 +4444,8 @@ or when you set the mouse color.");
4447 DEFVAR_LISP ("x-no-window-manager", &Vx_no_window_manager, 4444 DEFVAR_LISP ("x-no-window-manager", &Vx_no_window_manager,
4448 "Non-nil if no X window manager is in use."); 4445 "Non-nil if no X window manager is in use.");
4449 4446
4450 DEFVAR_BOOL ("x-toolkit", &x_toolkit,
4451 "Non-nil if this Emacs was built to use an X toolkit.");
4452#ifdef USE_X_TOOLKIT 4447#ifdef USE_X_TOOLKIT
4453 x_toolkit = 1; 4448 Fprovide (intern ("x-toolkit"));
4454#else
4455 x_toolkit = 0;
4456#endif 4449#endif
4457 4450
4458#ifdef HAVE_X11 4451#ifdef HAVE_X11