Search code examples
emacsbackground-colorline-numbers

How to change the background color of the line numbers mode in emacs?


I have seen some solutions to this using linum and nlinum but is there a way to change the background color of the global line numbers mode?
I want to make the line number background the same as my normal background


Solution

  • I want to make the line number background the same as my normal background

    By default it is, so you must have previously customized it to be that way (or be using a theme which made that change).

    Just M-x customize-group RET display-line-numbers RET and edit the faces.