(Fx_family_fonts): Use font_parse_family_registry instead of
authorKenichi Handa <handa@m17n.org>
Thu, 5 Jun 2008 05:40:11 +0000 (05:40 +0000)
committerKenichi Handa <handa@m17n.org>
Thu, 5 Jun 2008 05:40:11 +0000 (05:40 +0000)
Ffont_put.

src/xfaces.c

index 74b53ed..7f64618 100644 (file)
@@ -1784,7 +1784,7 @@ the face font sort order.  */)
   if (!NILP (family))
     {
       CHECK_STRING (family);
-      Ffont_put (font_spec, QCfamily, family);
+      font_parse_family_registry (family, Qnil, font_spec);
     }
   vec = font_list_entities (frame, font_spec);
   nfonts = ASIZE (vec);