jonathanchu/emacs-powerline — pull request #6 by prakashk (2012-06-08 22:05:09+00:00)
Title: define get-scroll-bar-mode function if it is not available

In emacs 23.2, I was getting a blank modeline, similar to the issue https://github.com/jonathanchu/emacs-powerline/issues/4. But the cause turned out to be different in my case.

It turns out that `get-scroll-bar-mode` was defined in the `scroll-bar.el` that came with emacs 24, but it wasn't available in 23.2.

The patch fixes emacs 23.2 for me. It is not tested in emacs 24.