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

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

bug#3434: 23.0.91; Cursor face not changing


From: Luke Renn
Subject: bug#3434: 23.0.91; Cursor face not changing
Date: Sun, 16 Aug 2009 00:33:38 -0400

> I looked at the code and cannot see how this could be happening.  The  
> region face is set to ns_selection_color in ns-win.el, but this
> should be overridden by .emacs read later.

It probably should, but it doesn't seem to.

This bug is easily fixed by changing the following line in ns-win.el:

(set-face-background 'region "ns_selection_color")

To:

(if (not (face-attribute 'region :background))
(set-face-background 'region "ns_selection_color"))

Tested and confirmed on a git checkout from 8/14.

The real fix may be to change when ns-win.el runs, but I didn't look into that.

Thanks,

Luke


reply via email to

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