diff options
author | Jan Djärv <jan.h.d@swipnet.se> | 2013-09-28 12:01:50 +0200 |
---|---|---|
committer | Jan Djärv <jan.h.d@swipnet.se> | 2013-09-28 12:01:50 +0200 |
commit | 1610938f74bd8cee71c0190deb470b5bd102d51f (patch) | |
tree | 7114f6a13439b06d3b4affb2a77abaf606653727 /lisp/emacs-lisp/crm.el | |
parent | 0d2647e645d9965e0707d25e39e4152abfda99bf (diff) | |
download | emacs-1610938f74bd8cee71c0190deb470b5bd102d51f.tar.gz emacs-1610938f74bd8cee71c0190deb470b5bd102d51f.tar.bz2 emacs-1610938f74bd8cee71c0190deb470b5bd102d51f.zip |
Pick up default selection color on OSX when user defaults are not set.
* lisp/faces.el (region): Change ns_selection_color to
ns_selection_fg_color, add ns_selection_bg_color.
* src/nsterm.h (NS_SELECTION_BG_COLOR_DEFAULT): Renamed from
NS_SELECTION_COLOR_DEFAULT.
(NS_SELECTION_FG_COLOR_DEFAULT): New.
* src/nsterm.m (ns_selection_color): Remove.
(ns_get_color): Check for ns_selection_(fg|bg)_color using
NSColor selectedText(Background)Color. Only for COCOA.
(ns_term_init): Remove assignment of ns_selection_color, logic
moved to ns_get_color.
Diffstat (limited to 'lisp/emacs-lisp/crm.el')
0 files changed, 0 insertions, 0 deletions