Skip to content

Commit

Permalink
Merge pull request #9 from gorakhargosh/master
Browse files Browse the repository at this point in the history
Checks whether scroll-bar-mode is defined before calling it and fixes typo.
  • Loading branch information
jonathanchu committed Jul 27, 2012
2 parents 8a8258e + 98ea917 commit 530a47d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.rst
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion powerline.el
Expand Up @@ -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)
Expand Down

0 comments on commit 530a47d

Please sign in to comment.