]> git.eshelyaron.com Git - emacs.git/commitdiff
Don't load scroll-bar unless x-toolkit-scroll-bars-p
authorEli Zaretskii <eliz@gnu.org>
Fri, 30 Jul 1999 08:48:17 +0000 (08:48 +0000)
committerEli Zaretskii <eliz@gnu.org>
Fri, 30 Jul 1999 08:48:17 +0000 (08:48 +0000)
is bound.

lisp/loadup.el

index 06942f25bfd5b93e219ade6d8af75e41b6ef5f81..86122146a6ebc96cfd83ca9105a2edfd69c96cad 100644 (file)
 (if (fboundp 'track-mouse)
     (progn
       (load "mouse")
-      (load "scroll-bar")
+      (and (boundp 'x-toolkit-scroll-bars-p)
+          (load "scroll-bar"))
       (load "select")))
 
 (message "%s" (garbage-collect))