Commit 69eb9e8b authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(Ffont_put): Don't use font_parse_family_registry for

family name.
parent 2ecee2d0
......@@ -3534,13 +3534,7 @@ DEFUN ("font-put", Ffont_put, Sfont_put, 3, 3, 0,
CHECK_FONT_SPEC (font_spec);
idx = get_font_prop_index (prop);
if (idx >= 0 && idx < FONT_EXTRA_INDEX)
{
if (idx == FONT_FAMILY_INDEX
&& STRINGP (val))
font_parse_family_registry (val, Qnil, font_spec);
else
ASET (font_spec, idx, font_prop_validate (idx, Qnil, val));
}
ASET (font_spec, idx, font_prop_validate (idx, Qnil, val));
else
font_put_extra (font_spec, prop, font_prop_validate (0, prop, val));
return val;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment