From ee5d57b04325be3c36049faebb452a5527bcea4e Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Tue, 8 Mar 2005 08:46:48 +0000 Subject: [PATCH] (x_set_font): Call set_default_ascii_font if an available font is found. --- src/ChangeLog | 11 +++++++++++ src/frame.c | 1 + 2 files changed, 12 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index 854a8673458..d9a2d3ec3f6 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,14 @@ +2005-03-08 Kenichi Handa + + * 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 * xdisp.c (CLEAR_IMAGE_CACHE_COUNT): New const. diff --git a/src/frame.c b/src/frame.c index 36014df23c1..2dc8e633a3f 100644 --- a/src/frame.c +++ b/src/frame.c @@ -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 -- 2.39.2