help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Changing color of transient mark


From: Drew Adams
Subject: RE: Changing color of transient mark
Date: Thu, 12 Feb 2015 11:03:01 -0800 (PST)

> >> I'm running emacs 24.4.1, and the transient mark color is a very dark
> >> blue. This makes the highlighted text hard to read.
> >> Id like to redefine the background color something like this:
> >>
> >>   ((transient-mark-mode 1)
> >>     (set-background-color "mistyrose")
> >>     (set-foreground-color "firebrick"))
> 
> > See the function `set-face-attribute'.
> 
> Because all my emacs sessions have the -q option and use their own init
> files, I'm unable to save the highlight background color.
> 
> What lisp code would define the background within init files?

I already answered that:  `M-x customize-face region' and save your
changes.

That inserts the necessary Lisp code in your init file, or (better) if
you have defined `custom-file' then into your `custom-file'.

If you try it then you will see what Lisp code to use. ;-)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]