1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-02-06 20:49:33 +00:00

(x_set_font): Call set_default_ascii_font if an

available font is found.
This commit is contained in:
Kenichi Handa 2005-03-08 08:46:48 +00:00
parent 8f2e667359
commit ee5d57b043
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,14 @@
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.

View File

@ -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