Permalink
Browse files

define get-scroll-bar-mode if it is not available (emacs 23.2)

  • Loading branch information...
1 parent 4f04dbd commit 8852c7c09a65593cba8738f1caf0bc1ede380561 @prakashk prakashk committed Jun 8, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 powerline.el
View
4 powerline.el
@@ -404,6 +404,10 @@ install the memoized function over the original function."
""
(propertize " " 'face plface)))))
+;; get-scroll-bar-mode is not available in emacs 23.2
+(if (not (functionp 'get-scroll-bar-mode))
+ (defun get-scroll-bar-mode () scroll-bar-mode))
+
(defun powerline-make-fill
(color)
;; justify right by filling with spaces to right fringe, 20 should be calculated

0 comments on commit 8852c7c

Please sign in to comment.