]> git.eshelyaron.com Git - emacs.git/commitdiff
* xfaces.c (realize_default_face): Set DISTANT_FOREGROUND to unspecified_fg.
authorJan Djärv <jan.h.d@swipnet.se>
Sat, 2 Nov 2013 13:14:55 +0000 (14:14 +0100)
committerJan Djärv <jan.h.d@swipnet.se>
Sat, 2 Nov 2013 13:14:55 +0000 (14:14 +0100)
src/ChangeLog
src/xfaces.c

index 8209f47f6f84aac4d6ec1b9c940abaa02075dc1b..1cea67b86899be8c4f0cb1758a65cd3d7ee58dcc 100644 (file)
@@ -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  <eggert@cs.ucla.edu>
 
index 717690a42e5433ae6eeb26be09423ec4a7fc1490..7b88659e11d81483aa3188d9d0afe00e90e574f2 100644 (file)
@@ -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)))
     {