(Finternal_set_lisp_face_attribute): Allow :color property

to be nil in a :box attribute value list; customize prints that
as lisp value when no box color is specified.
This commit is contained in:
Kim F. Storm 2005-02-18 22:55:53 +00:00
parent c2ee48fb08
commit 91c212f159

View file

@ -4148,7 +4148,7 @@ FRAME 0 means change the face on all frames, and change the default
}
else if (EQ (k, QCcolor))
{
if (!STRINGP (v) || SCHARS (v) == 0)
if (!NILP (v) && (!STRINGP (v) || SCHARS (v) == 0))
break;
}
else if (EQ (k, QCstyle))