Permalink
Browse files

Fix html-mode going blank by adding format-mode-line to mode-name. Cr…

…edit: @Okasu
  • Loading branch information...
1 parent 9b4f64d commit c6eb35d84ee0797bbfd50a47d2b564ddf4e360fa @jonathanchu committed Jul 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 powerline.el
View
@@ -474,7 +474,7 @@ install the memoized function over the original function."
(not powerline-buffer-size-suffix))
(redraw-modeline)))))
(defpowerline rmw "%*")
-(defpowerline major-mode (propertize mode-name
+(defpowerline major-mode (propertize (format-mode-line mode-name)
'help-echo "Major mode\n\ mouse-1: Display major mode menu\n\ mouse-2: Show help for major mode\n\ mouse-3: Toggle minor modes"
'local-map (let ((map (make-sparse-keymap)))
(define-key map [mode-line down-mouse-1]

0 comments on commit c6eb35d

Please sign in to comment.