Restrict non-SRGB setting to fewer Macs.

This commit is contained in:
Greg Pfeil 2015-01-06 19:46:57 -07:00
parent e7b9997d34
commit baa6dcc24f
1 changed files with 5 additions and 1 deletions

View File

@ -40,7 +40,11 @@ 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 (eq system-type 'darwin)
(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.
However, these colors are not totally portable, so you may be able to edit