Merge pull request #66 from lewang/unfix-mac-srgb

the sRGB fix is not necessary for Mac build 3.2+, also post Mountain Lion? (need confirmation)
This commit is contained in:
Greg Pfeil 2012-08-30 18:28:09 -07:00
commit 9a0019332c
1 changed files with 4 additions and 1 deletions

View File

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