jonathanchu / emacs-powerline

Powerline for Emacs
497 stars 37 forks source link

Format `mode-name` with `format-mode-line` #14

Closed hans closed 12 years ago

hans commented 12 years ago

Hi Jonathan — thanks for making this addon! It's made Emacs look so much sleeker :)

In the powerline major mode display, the mode name was being processed without checking its type. This failed for modes like html-mode, which store a list in mode-name.

I added a call to format-mode-line so that mode-name is processed and a string always passed to the modeline display.

jonathanchu commented 12 years ago

Great, thank you! Let me test this locally on v23 and v24 and I'll merge if all looks good. Thanks and sorry for the delay in response!