Commit 75f8dd6a authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(x_set_font): Change the error message of the case that

x_new_fontset returns Qt.
parent 587cb9a7
......@@ -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))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment