(x_set_font): Change the error message of the case that
authorKenichi Handa <handa@m17n.org>
Fri, 27 Sep 2002 04:50:23 +0000 (04:50 +0000)
committerKenichi Handa <handa@m17n.org>
Fri, 27 Sep 2002 04:50:23 +0000 (04:50 +0000)
x_new_fontset returns Qt.

src/xfns.c

index e33ce55..64df09d 100644 (file)
@@ -1995,7 +1995,7 @@ x_set_font (f, arg, oldval)
   if (EQ (result, Qnil))
     error ("Font `%s' is not defined", XSTRING (arg)->data);
   else if (EQ (result, Qt))
-    error ("The characters of the given font have varying widths");
+    error ("The default fontset can't be used for a frame font");
   else if (STRINGP (result))
     {
       if (STRINGP (fontset_name))