-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide an easy revert function #66
Comments
Ah... :-) Nowadays sml is much more mindful of not changing the structure of the mode-line-format variable (this way we don't break other packages that might edit this variable as well), so the revert feature pretty much stopped working. I'll try to hack something quick that you can use. |
Ok, it's not pretty, but here's what you can do to revert it (for now, I'll probably add a proper revert function over the weekend). Just evaluate the following code (or put it inside a function).
|
I'm testing out smart-mode-line to see if I like it better than Powerline, and one thing I really like about milkypostman's Powerline is that there's a great revert function.
However, smart-mode-line doesn't seem to have anything equivalent. I tried evaluating
(copy-face 'sml/active-backup 'mode-line)
, but all that did was change the colour scheme. I'm sure there's some way to get the default back, but you'd probably know better than I would.I'm sure it never occurred to you that someone would disable your amazing package, but it could be a useful feature for unconvinced new users :)
The text was updated successfully, but these errors were encountered: