# HG changeset patch # User Adrian Robert # Date 1254067593 0 # Node ID 465e0665ef8024a9b8b9d85afd7eb21f89ff99ad # Parent 73d9bdf2f3470a96cb5fb1d9173f9fcbfc9882d2 Default light-background background for region face to ns_selection_color under NS. diff -r 73d9bdf2f347 -r 465e0665ef80 lisp/faces.el --- a/lisp/faces.el Sun Sep 27 16:06:04 2009 +0000 +++ b/lisp/faces.el Sun Sep 27 16:06:33 2009 +0000 @@ -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))