linux - Changing highlight line color in emacs -
i installed emacs 24 , installed prelude , wanted change theme zenburn tango-dark. color line highlighted yellow , don't that. want gray color in zenburn.
what should do? prefer not turn off hl-line when tried saw space between parentheses () highlighted same yellow color. (in zenburn theme didn't happen). know not part of tango theme because when run vanilla emacs(sudo emacs) tango theme no such highlighting happens.
that easy fix if customize init file (~/.emacs
, ~/.emacs.el
, or ~/.emacs.d/init.el
)
turn on hl-line:
(global-hl-line-mode 1)
set color background face of current line:
(set-face-background 'hl-line "#3e4446")
to keep syntax highlighting in current line:
(set-face-foreground 'highlight nil)
Comments
Post a Comment