[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Changing color of transient mark
From: |
Marcin Borkowski |
Subject: |
Re: Changing color of transient mark |
Date: |
Wed, 11 Feb 2015 20:09:35 +0100 |
On 2015-02-11, at 19:37, Haines Brown <haines@engels.histomat.net> wrote:
> 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"))
>
> but of course this does not work. Short of running PC mode, how can I
> change at least the highlighting background color?
See the function `set-face-attribute'.
Hth,
--
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University