changeset 97327:53bcf54737b2

(xfont_list_family): Return a list of symbols, not strings.
author Kenichi Handa <handa@m17n.org>
date Wed, 06 Aug 2008 12:20:11 +0000
parents 978f82d20794
children 21071147464a
files src/xfont.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfont.c	Wed Aug 06 12:19:35 2008 +0000
+++ b/src/xfont.c	Wed Aug 06 12:20:11 2008 +0000
@@ -473,8 +473,8 @@
 	continue;
       last_len = p1 - p0;
       last_family = p0;
-      family = make_unibyte_string (p0, last_len);
-      if (NILP (Fassoc_string (family, list, Qt)))
+      family = font_intern_prop (p0, last_len, 1);
+      if (NILP (assq_no_quit (family, list)))
 	list = Fcons (family, list);
     }