From 765fe182c4b39093b4763c065b98cf7019cc6979 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Fri, 27 Dec 2013 11:43:11 +0100 Subject: [PATCH] Enable ns-use-srgb-colorspace by default See thread https://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00706.html * nsterm.m (syms_of_nsterm): Enable ns-use-srgb-colorspace by default. --- etc/NEWS | 2 +- src/ChangeLog | 5 +++++ src/nsterm.m | 4 ++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/etc/NEWS b/etc/NEWS index a9fd1eac038..a83f7d0742c 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1288,7 +1288,7 @@ Customize `ns-use-native-fullscreen' to change style. For >= 10.7 native is the default. ** OSX >= 10.7 can use sRGB colorspace. -Customize `ns-use-srgb-colorspace' to change style. nil is the default. +Customize `ns-use-srgb-colorspace' to change style. t is the default. Note: This does not apply to images. diff --git a/src/ChangeLog b/src/ChangeLog index 4e8c9a10223..7f69572dc01 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2013-12-27 Steve Purcell (tiny change) + + * nsterm.m (syms_of_nsterm): Enable ns-use-srgb-colorspace by + default. + 2013-12-27 Chong Yidong * data.c (Fsymbol_function): Doc fix. diff --git a/src/nsterm.m b/src/nsterm.m index f2aef422db4..635f57946b2 100644 --- a/src/nsterm.m +++ b/src/nsterm.m @@ -7647,8 +7647,8 @@ Default is t for OSX >= 10.7, nil otherwise. */); DEFVAR_BOOL ("ns-use-srgb-colorspace", ns_use_srgb_colorspace, doc: /*Non-nil means to use sRGB colorspace on OSX >= 10.7. Note that this does not apply to images. -This variable is ignored on OSX < 10.7 and GNUStep. Default is nil. */); - ns_use_srgb_colorspace = NO; +This variable is ignored on OSX < 10.7 and GNUStep. Default is t. */); + ns_use_srgb_colorspace = YES; /* TODO: move to common code */ DEFVAR_LISP ("x-toolkit-scroll-bars", Vx_toolkit_scroll_bars, -- 2.39.2