]> git.eshelyaron.com Git - emacs.git/commitdiff
(syms_of_xfns): Provide x-toolkit in toolkit version.
authorRichard M. Stallman <rms@gnu.org>
Mon, 11 Jul 1994 00:48:47 +0000 (00:48 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 11 Jul 1994 00:48:47 +0000 (00:48 +0000)
Undo previous change.
(x_toolkit): Variable deleted.

src/xfns.c

index c138c4cacb1fe00fdf44e331655947ab0bf22736..b111c120f8ad3790d7e84a4143cec2cb0c207a06 100644 (file)
@@ -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