I installed emacs 24 and also installed prelude and I wanted to change the theme from zenburn to tango-dark. But the color that the line is highlighted is yellow and I don\'t li
M-x customize-face RET hl-line
will help you. Just pick a face you like (you can type the same command with the other theme installed, just to peek the values you like).
That would be an easy fix if you customize your init file (~/.emacs
, ~/.emacs.el
, or ~/.emacs.d/init.el
)
Turn on hl-line:
(global-hl-line-mode 1)
Set any color as the background face of the current line:
(set-face-background 'hl-line "#3e4446")
To keep syntax highlighting in the current line:
(set-face-foreground 'highlight nil)