]> err.no Git - dotfiles/commitdiff
only toggle scroll bar if we have that function
authortfheen <tfheen@8da78d58-1cd3-0310-bee5-d77bd1b3e8bf>
Sat, 19 Oct 2002 23:44:58 +0000 (23:44 +0000)
committertfheen <tfheen@8da78d58-1cd3-0310-bee5-d77bd1b3e8bf>
Sat, 19 Oct 2002 23:44:58 +0000 (23:44 +0000)
git-svn-id: file:///svn/tfheen/trunk/dotfiles@82 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf

emacs

diff --git a/emacs b/emacs
index fa57ca95ca9781b0e766bdef3f476f06ae143b91..e8f76c4640754550a724871984b7a89bf7139ebf 100644 (file)
--- a/emacs
+++ b/emacs
 ;; 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)