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
mode-line-buffer-id
to use a spec like this:((t (:overline "red" :underline "red")))
, so the buffer name (only) has both overline and underline. – Croy