unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Customizing the color of line highlight
@ 2010-11-13  7:29 Philip
  0 siblings, 0 replies; only message in thread
From: Philip @ 2010-11-13  7:29 UTC (permalink / raw)
  To: help-gnu-emacs

How can I customize the color of line highlighting? I am using Emacs
21 with hl-line.el to highlight the current line, on a 256-color
xterm. I have:

(setq hl-line-face 'hl-line)
(global-hl-line-mode t) ; turn it on for all modes by default

And I tried:

(defface hl-line '((t (:background "gray90")))
    "Face to use for `hl-line-face'." :group 'hl-line)

(set-face-background 'highlight "#eee")

(set-face-background 'highlight "goldenrod yellow")

But it's still the default gray, which is too dark on a white
background. M-x list-colors-display shows all the colors fine.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-11-13  7:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-13  7:29 Customizing the color of line highlight Philip

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).