emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs/lisp faces.el


From: Adrian Robert
Subject: [Emacs-diffs] emacs/lisp faces.el
Date: Sun, 27 Sep 2009 16:06:33 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Adrian Robert <arobert> 09/09/27 16:06:33

Modified files:
        lisp           : faces.el 

Log message:
        Default light-background background for region face to 
ns_selection_color under NS.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/faces.el?cvsroot=emacs&r1=1.446&r2=1.447

Patches:
Index: faces.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/faces.el,v
retrieving revision 1.446
retrieving revision 1.447
diff -u -b -r1.446 -r1.447
--- faces.el    2 Sep 2009 03:06:25 -0000       1.446
+++ faces.el    27 Sep 2009 16:06:33 -0000      1.447
@@ -2278,9 +2278,14 @@
   "Basic face for highlighting."
   :group 'basic-faces)
 
+;; Region face: under NS, default to the system-defined selection
+;; color (optimized for the fixed white background of other apps),
+;; if background is light.
 (defface region
   '((((class color) (min-colors 88) (background dark))
      :background "blue3")
+    (((class color) (min-colors 88) (background light) (type ns))
+     :background "ns_selection_color")
     (((class color) (min-colors 88) (background light))
      :background "lightgoldenrod2")
     (((class color) (min-colors 16) (background dark))




reply via email to

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