changeset 95574:fa7d768bdd0b

(Fx_family_fonts): Use font_parse_family_registry instead of Ffont_put.
author Kenichi Handa <handa@m17n.org>
date Thu, 05 Jun 2008 05:40:11 +0000
parents 0da1a8e03099
children d34a432d5863
files src/xfaces.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfaces.c	Thu Jun 05 05:39:37 2008 +0000
+++ b/src/xfaces.c	Thu Jun 05 05:40:11 2008 +0000
@@ -1784,7 +1784,7 @@
   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);