From 39dd7bb286ee192105545f7f7774b0fefeed4717 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20Dj=C3=A4rv?= Date: Sat, 2 Nov 2013 14:14:55 +0100 Subject: [PATCH] * xfaces.c (realize_default_face): Set DISTANT_FOREGROUND to unspecified_fg. --- src/ChangeLog | 1 + src/xfaces.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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))) { -- 2.39.2