From 5fb19db91ba99c40b6ac0048c1d1b064462208ca Mon Sep 17 00:00:00 2001 From: tfheen Date: Sat, 19 Oct 2002 23:44:58 +0000 Subject: [PATCH] only toggle scroll bar if we have that function git-svn-id: file:///svn/tfheen/trunk/dotfiles@82 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf --- emacs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/emacs b/emacs index fa57ca9..e8f76c4 100644 --- a/emacs +++ b/emacs @@ -137,8 +137,10 @@ ;; Visual fluff. (cw/for-emacs - (toggle-scroll-bar -1) - (setq scrollbars-visible-p nil)) + (if (functionp 'toggle-scroll-bar) + (progn + (toggle-scroll-bar -1) + (setq scrollbars-visible-p nil)))) (setq scroll-bar-mode nil) -- 2.39.5