summaryrefslogtreecommitdiff
path: root/src/xfont.c
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>2008-08-06 12:20:28 +0000
committerKenichi Handa <handa@m17n.org>2008-08-06 12:20:28 +0000
commit29428bb856ca0efed4a1c95261e8bfc798d9e7be (patch)
treebd18f58c410e3763b01028b1e8cafdefec76fcc3 /src/xfont.c
parente83eedbf8dc964366e4efe39a4f1fc7a412c1b42 (diff)
downloademacs-29428bb856ca0efed4a1c95261e8bfc798d9e7be.tar.gz
(xfont_list_family): Return a list of symbols, not
strings.
Diffstat (limited to 'src/xfont.c')
-rw-r--r--src/xfont.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xfont.c b/src/xfont.c
index 83a8c770f86..67cb6e50664 100644
--- a/src/xfont.c
+++ b/src/xfont.c
@@ -473,8 +473,8 @@ xfont_list_family (frame)
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);
}