+2013-11-02 Jan Djärv <jan.h.d@swipnet.se>
+
+ * xfaces.c (check_lface_attrs, realize_default_face): Add
+ LFACE_DISTANT_FOREGROUND_INDEX (Bug#15788).
+
2013-11-02 Paul Eggert <eggert@cs.ucla.edu>
* emacs.c (original_pwd): Remove global var by making it local.
eassert (UNSPECIFIEDP (attrs[LFACE_FOREGROUND_INDEX])
|| IGNORE_DEFFACE_P (attrs[LFACE_FOREGROUND_INDEX])
|| STRINGP (attrs[LFACE_FOREGROUND_INDEX]));
+ eassert (UNSPECIFIEDP (attrs[LFACE_DISTANT_FOREGROUND_INDEX])
+ || IGNORE_DEFFACE_P (attrs[LFACE_DISTANT_FOREGROUND_INDEX])
+ || STRINGP (attrs[LFACE_DISTANT_FOREGROUND_INDEX]));
eassert (UNSPECIFIEDP (attrs[LFACE_BACKGROUND_INDEX])
|| IGNORE_DEFFACE_P (attrs[LFACE_BACKGROUND_INDEX])
|| STRINGP (attrs[LFACE_BACKGROUND_INDEX]));
emacs_abort ();
}
+ if (UNSPECIFIEDP (LFACE_DISTANT_FOREGROUND (lface)))
+ ASET (lface, LFACE_DISTANT_FOREGROUND_INDEX, Qnil);
+
if (UNSPECIFIEDP (LFACE_BACKGROUND (lface)))
{
/* This function is called so early that colors are not yet