summaryrefslogtreecommitdiff
path: root/src/frame.c
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>2005-03-08 08:46:48 +0000
committerKenichi Handa <handa@m17n.org>2005-03-08 08:46:48 +0000
commitee5d57b04325be3c36049faebb452a5527bcea4e (patch)
tree708d1cc3ad5780ad77e1523c854be2f51e628d7e /src/frame.c
parent8f2e6673597e952fc92191f21fe554a5f51242dc (diff)
downloademacs-ee5d57b04325be3c36049faebb452a5527bcea4e.tar.gz
(x_set_font): Call set_default_ascii_font if an
available font is found.
Diffstat (limited to 'src/frame.c')
-rw-r--r--src/frame.c1
1 files changed, 1 insertions, 0 deletions
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