From 449ab6886cf2d629177f9b3abc41141450d59009 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 30 Jul 1999 08:48:17 +0000 Subject: [PATCH] Don't load scroll-bar unless x-toolkit-scroll-bars-p is bound. --- lisp/loadup.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/loadup.el b/lisp/loadup.el index 06942f25bfd..86122146a6e 100644 --- a/lisp/loadup.el +++ b/lisp/loadup.el @@ -102,7 +102,8 @@ (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)) -- 2.39.5