From fc0fa62d0ef8084237ad39a0ca7bccdba5d189a7 Mon Sep 17 00:00:00 2001 From: Le Wang Date: Wed, 29 Aug 2012 22:48:47 +0800 Subject: [PATCH] remove sRGB color fix for mac build - in version 3.2 of Mac port, this fix is not necessary --- solarized-definitions.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/solarized-definitions.el b/solarized-definitions.el index d2df0cd..e168559 100644 --- a/solarized-definitions.el +++ b/solarized-definitions.el @@ -40,7 +40,10 @@ down in order to expand or compress the tonal range displayed." :options '(high normal low) :group 'solarized) -(defcustom solarized-broken-srgb (if (eq system-type 'darwin) t nil) +(defcustom solarized-broken-srgb (if (and (eq system-type 'darwin) + (eq window-system 'ns)) + t + nil) "Emacs bug #8402 results in incorrect color handling on Macs. If this is t \(the default on Macs), Solarized works around it with alternative colors. However, these colors are not totally portable, so you may be able to edit