aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa2008-06-25 07:35:49 +0000
committerKenichi Handa2008-06-25 07:35:49 +0000
commit34e97272759e1c747993708f87b700146f39cd88 (patch)
tree8944fb8c772356316243c0ebf9611fe1fd8ce75b /src
parent7181ea6aa03498aaa47e555db5791ad1255d3a3e (diff)
downloademacs-34e97272759e1c747993708f87b700146f39cd88.tar.gz
emacs-34e97272759e1c747993708f87b700146f39cd88.zip
(Fx_list_fonts): Call Flist_fonts with the arg PREFER.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog7
-rw-r--r--src/xfaces.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 318f378e209..963665cc0a8 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,12 @@
12008-06-25 Kenichi Handa <handa@m17n.org> 12008-06-25 Kenichi Handa <handa@m17n.org>
2 2
3 * xfaces.c (Fx_list_fonts): Call Flist_fonts with the arg PREFER.
4
5 * font.c (font_parse_fcname): Remove unused variables.
6 (font_sort_entites): Delete the arg SPEC. Caller changed. Fix
7 for the case of ! best_only.
8 (font_delete_unmatched): Check DPI and AVGWIDTH too.
9
3 * lisp.h (Fstring_to_unibyte): EXFUN it. 10 * lisp.h (Fstring_to_unibyte): EXFUN it.
4 11
5 * character.h: (str_to_unibyte): Extern it. 12 * character.h: (str_to_unibyte): Extern it.
diff --git a/src/xfaces.c b/src/xfaces.c
index fba5a3ba4f7..787891ab2c1 100644
--- a/src/xfaces.c
+++ b/src/xfaces.c
@@ -1939,7 +1939,7 @@ the WIDTH times as wide as FACE on FRAME. */)
1939 Ffont_put (font_spec, QCsize, make_number (size)); 1939 Ffont_put (font_spec, QCsize, make_number (size));
1940 Ffont_put (font_spec, QCavgwidth, make_number (avgwidth)); 1940 Ffont_put (font_spec, QCavgwidth, make_number (avgwidth));
1941 } 1941 }
1942 args[0] = Flist_fonts (font_spec, frame, maximum, Qnil); 1942 args[0] = Flist_fonts (font_spec, frame, maximum, font_spec);
1943 for (tail = args[0]; CONSP (tail); tail = XCDR (tail)) 1943 for (tail = args[0]; CONSP (tail); tail = XCDR (tail))
1944 XSETCAR (tail, Ffont_xlfd_name (XCAR (tail), Qnil)); 1944 XSETCAR (tail, Ffont_xlfd_name (XCAR (tail), Qnil));
1945 if (NILP (frame)) 1945 if (NILP (frame))