diff src/xfns.c @ 8192:091cd6243cae

(syms_of_xfns): Provide x-toolkit in toolkit version. Undo previous change. (x_toolkit): Variable deleted.
author Richard M. Stallman <rms@gnu.org>
date Mon, 11 Jul 1994 00:48:47 +0000
parents d92a24366b22
children 1a0af0f4fb1d
line wrap: on
line diff
--- a/src/xfns.c	Mon Jul 11 00:37:44 1994 +0000
+++ b/src/xfns.c	Mon Jul 11 00:48:47 1994 +0000
@@ -90,9 +90,6 @@
 /* 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 @@
   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