Improve “broken sRGB” handling.

Fixes issue #103.
This commit is contained in:
Greg Pfeil 2014-03-30 09:31:29 -06:00
parent 0d189230e8
commit 467f233586
1 changed files with 2 additions and 1 deletions

View File

@ -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.