From 467f233586cad21101d08cac4433e5f3309a0ca1 Mon Sep 17 00:00:00 2001 From: Greg Pfeil Date: Sun, 30 Mar 2014 09:31:29 -0600 Subject: [PATCH] =?UTF-8?q?Improve=20=E2=80=9Cbroken=20sRGB=E2=80=9D=20han?= =?UTF-8?q?dling.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes issue #103. --- solarized-definitions.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/solarized-definitions.el b/solarized-definitions.el index de89022..1e97322 100644 --- a/solarized-definitions.el +++ b/solarized-definitions.el @@ -42,7 +42,8 @@ down in order to expand or compress the tonal range displayed." (defcustom solarized-broken-srgb (if (and (eq system-type 'darwin) (eq window-system 'ns)) - t + (not (and (boundp 'ns-use-srgb-colorspace) + ns-use-srgb-colorspace)) 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.