Emacs 24: mode style

I am trying to change the modeling style in emacs 24.

I want to add inscription and underline. The underline works fine, but the overline doesn't work 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 make the work of the add-in work?

Is there also a way to set the distance between borders and text?

thanks

+6
source share
1 answer

If I remember correctly, the line mode specification has a non-nil: box type specification by default, so it can solve your problem by adding the line :box nil to the code above.

+1
source

Source: https://habr.com/ru/post/945892/


All Articles