From: tfheen Date: Sat, 19 Oct 2002 23:44:58 +0000 (+0000) Subject: only toggle scroll bar if we have that function X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5fb19db91ba99c40b6ac0048c1d1b064462208ca;p=dotfiles only toggle scroll bar if we have that function git-svn-id: file:///svn/tfheen/trunk/dotfiles@82 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf --- 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)