Mercurial > emacs
changeset 25121:89064915a42f
Don't load scroll-bar unless x-toolkit-scroll-bars-p
is bound.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Fri, 30 Jul 1999 08:48:17 +0000 |
parents | de7cab1fe991 |
children | 2ed76ce5608e |
files | lisp/loadup.el |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/loadup.el Fri Jul 30 08:45:36 1999 +0000 +++ b/lisp/loadup.el Fri Jul 30 08:48:17 1999 +0000 @@ -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))