I am trying to change the styling of the modeline in emacs 24.
I want to add an overline and an underline. Underline works fine, but overline is not working for some reason. Here is my code so far (added to .emacs):
(set-face-attribute 'mode-line nil
:foreground "gray0"
:background "cyan"
:overline "cyan"
:underline "cyan")
Any ideas on how to get the overline working?
Also is there a way to set the distance between the borders and text?
Thanks
If I remember correctly, the default mode-line spec has a non-nil :box spec, so it might solve your problem to add the line :box nil
to your code listed above.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With