From: Jan Djärv Date: Sat, 2 Nov 2013 13:14:55 +0000 (+0100) Subject: * xfaces.c (realize_default_face): Set DISTANT_FOREGROUND to unspecified_fg. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~1025 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=39dd7bb286ee192105545f7f7774b0fefeed4717;p=emacs.git * xfaces.c (realize_default_face): Set DISTANT_FOREGROUND to unspecified_fg. --- diff --git a/src/ChangeLog b/src/ChangeLog index 8209f47f6f8..1cea67b8689 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -2,6 +2,7 @@ * xfaces.c (check_lface_attrs, realize_default_face): Add LFACE_DISTANT_FOREGROUND_INDEX (Bug#15788). + (realize_default_face): Set DISTANT_FOREGROUND to unspecified_fg. 2013-11-02 Paul Eggert diff --git a/src/xfaces.c b/src/xfaces.c index 717690a42e5..7b88659e11d 100644 --- a/src/xfaces.c +++ b/src/xfaces.c @@ -5356,7 +5356,7 @@ realize_default_face (struct frame *f) } if (UNSPECIFIEDP (LFACE_DISTANT_FOREGROUND (lface))) - ASET (lface, LFACE_DISTANT_FOREGROUND_INDEX, Qnil); + ASET (lface, LFACE_DISTANT_FOREGROUND_INDEX, build_string (unspecified_fg)); if (UNSPECIFIEDP (LFACE_BACKGROUND (lface))) {