aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa2002-09-27 04:50:23 +0000
committerKenichi Handa2002-09-27 04:50:23 +0000
commit75f8dd6ae20ab2ecb6829f2eaccb55fc5258b957 (patch)
tree2d34f2320bc3d31b6c58a1864eaf957e60c1bf5b /src
parent587cb9a7fc034b09f69d3697302d2c9e6c03decc (diff)
downloademacs-75f8dd6ae20ab2ecb6829f2eaccb55fc5258b957.tar.gz
emacs-75f8dd6ae20ab2ecb6829f2eaccb55fc5258b957.zip
(x_set_font): Change the error message of the case that
x_new_fontset returns Qt.
Diffstat (limited to 'src')
-rw-r--r--src/xfns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xfns.c b/src/xfns.c
index e33ce550c36..64df09d02f4 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -1995,7 +1995,7 @@ x_set_font (f, arg, oldval)
1995 if (EQ (result, Qnil)) 1995 if (EQ (result, Qnil))
1996 error ("Font `%s' is not defined", XSTRING (arg)->data); 1996 error ("Font `%s' is not defined", XSTRING (arg)->data);
1997 else if (EQ (result, Qt)) 1997 else if (EQ (result, Qt))
1998 error ("The characters of the given font have varying widths"); 1998 error ("The default fontset can't be used for a frame font");
1999 else if (STRINGP (result)) 1999 else if (STRINGP (result))
2000 { 2000 {
2001 if (STRINGP (fontset_name)) 2001 if (STRINGP (fontset_name))