diff options
author | Adrian Robert <Adrian.B.Robert@gmail.com> | 2009-09-27 16:06:33 +0000 |
---|---|---|
committer | Adrian Robert <Adrian.B.Robert@gmail.com> | 2009-09-27 16:06:33 +0000 |
commit | f3e848f4abbf6e66aa6c09304c886c012652a15e (patch) | |
tree | be2e98a209cf47311d799d2a687f568b887b9579 /lisp/faces.el | |
parent | aa36cda6dedc0111bb910694daef14ed791bbb5d (diff) | |
download | emacs-f3e848f4abbf6e66aa6c09304c886c012652a15e.tar.gz |
Default light-background background for region face to ns_selection_color under NS.
Diffstat (limited to 'lisp/faces.el')
-rw-r--r-- | lisp/faces.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/faces.el b/lisp/faces.el index cfb6a8b2961..4d0e1211ada 100644 --- a/lisp/faces.el +++ b/lisp/faces.el @@ -2278,9 +2278,14 @@ terminal type to a different value." "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)) |