{
Lisp_Object family = AREF (font_object, FONT_FAMILY_INDEX);
- ASET (lface, LFACE_FAMILY_INDEX, SYMBOL_NAME (family));
+ ASET (lface, LFACE_FAMILY_INDEX, LISP_SYMBOL_NAME (family));
}
if (force_p || UNSPECIFIEDP (LFACE_FOUNDRY (lface)))
{
Lisp_Object foundry = AREF (font_object, FONT_FOUNDRY_INDEX);
- ASET (lface, LFACE_FOUNDRY_INDEX, SYMBOL_NAME (foundry));
+ ASET (lface, LFACE_FOUNDRY_INDEX, LISP_SYMBOL_NAME (foundry));
}
if (force_p || UNSPECIFIEDP (LFACE_HEIGHT (lface)))
if (!NILP (font))
{
if (! NILP (AREF (font, FONT_FOUNDRY_INDEX)))
- to[LFACE_FOUNDRY_INDEX] = SYMBOL_NAME (AREF (font, FONT_FOUNDRY_INDEX));
+ to[LFACE_FOUNDRY_INDEX] = LISP_SYMBOL_NAME (AREF (font, FONT_FOUNDRY_INDEX));
if (! NILP (AREF (font, FONT_FAMILY_INDEX)))
- to[LFACE_FAMILY_INDEX] = SYMBOL_NAME (AREF (font, FONT_FAMILY_INDEX));
+ to[LFACE_FAMILY_INDEX] = LISP_SYMBOL_NAME (AREF (font, FONT_FAMILY_INDEX));
if (! NILP (AREF (font, FONT_WEIGHT_INDEX)))
to[LFACE_WEIGHT_INDEX] = FONT_WEIGHT_FOR_FACE (font);
if (! NILP (AREF (font, FONT_SLANT_INDEX)))
ok = false;
}
}
- else if (SYMBOLP (first)
- && *SDATA (SYMBOL_NAME (first)) == ':')
+ else if (SYMBOLP (first) && SYMBOL_KEYWORD_P (first))
{
/* Assume this is the property list form. */
if (attr_filter > 0)
if (i < FONT_FOUNDRY_INDEX || i > FONT_REGISTRY_INDEX
|| face->font->driver->case_sensitive)
return true;
- s1 = SYMBOL_NAME (face->font->props[i]);
- s2 = SYMBOL_NAME (def_face->font->props[i]);
+ s1 = LISP_SYMBOL_NAME (face->font->props[i]);
+ s2 = LISP_SYMBOL_NAME (def_face->font->props[i]);
if (! BASE_EQ (Fcompare_strings (s1, make_fixnum (0), Qnil,
s2, make_fixnum (0), Qnil, Qt),
Qt))