Commit ee5d57b0 authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(x_set_font): Call set_default_ascii_font if an

available font is found.
parent 8f2e6673
2005-03-08 Kenichi Handa <handa@m17n.org>
* frame.c (x_set_font): Call set_default_ascii_font if an
available font is found.
* fontset.c (set_default_ascii_font): New function.
(syms_of_fontset): Don't set FONTSET_ASCII (Vdefault_fontset)
here.
* fontset.h (set_default_ascii_font): Extern it.
2005-03-07 Kim F. Storm <storm@cua.dk>
 
* xdisp.c (CLEAR_IMAGE_CACHE_COUNT): New const.
......
......@@ -3084,6 +3084,7 @@ x_set_font (f, arg, oldval)
error ("The characters of the given font have varying widths");
else if (STRINGP (result))
{
set_default_ascii_font (result);
if (STRINGP (fontset_name))
{
/* Fontset names are built from ASCII font names, so the
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment