Permalink
Browse files

Merge pull request #9 from gorakhargosh/master

Checks whether scroll-bar-mode is defined before calling it and fixes typo.
  • Loading branch information...
2 parents 8a8258e + 98ea917 commit 530a47de16486476ba4ec60ff8230b6fd272c87e @jonathanchu committed Jul 27, 2012
Showing with 3 additions and 2 deletions.
  1. +1 −1 README.rst
  2. +2 −1 powerline.el
View
@@ -53,7 +53,7 @@ Additionally, you can modify directly in `powerline.el`:
(setq powerline-color1 "grey22")
(setq powerline-color2 "grey40")
-Change the :forebround, :background, powerline-color1, powerline-color2 to whatever you wish.
+Change the :foreground, :background, powerline-color1, powerline-color2 to whatever you wish.
Screenshots
View
@@ -25,7 +25,8 @@
(set-face-attribute 'mode-line-inactive nil
:box nil)
-(scroll-bar-mode -1)
+(if (functionp 'scroll-bar-mode)
+ (scroll-bar-mode -1))
(defun arrow-left-xpm
(color1 color2)

0 comments on commit 530a47d

Please sign in to comment.