Mercurial > emacs
comparison src/xfns.c @ 24589:316c00e8bc62
(x_set_font): Fix error message.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 08 Apr 1999 01:16:01 +0000 |
parents | d11ac02f9d6a |
children | c3f9d2a11b05 |
comparison
equal
deleted
inserted
replaced
24588:fdce161ec335 | 24589:316c00e8bc62 |
---|---|
1664 UNBLOCK_INPUT; | 1664 UNBLOCK_INPUT; |
1665 | 1665 |
1666 if (EQ (result, Qnil)) | 1666 if (EQ (result, Qnil)) |
1667 error ("Font `%s' is not defined", XSTRING (arg)->data); | 1667 error ("Font `%s' is not defined", XSTRING (arg)->data); |
1668 else if (EQ (result, Qt)) | 1668 else if (EQ (result, Qt)) |
1669 error ("the characters of the given font have varying widths"); | 1669 error ("The characters of the given font have varying widths"); |
1670 else if (STRINGP (result)) | 1670 else if (STRINGP (result)) |
1671 { | 1671 { |
1672 recompute_basic_faces (f); | 1672 recompute_basic_faces (f); |
1673 store_frame_param (f, Qfont, result); | 1673 store_frame_param (f, Qfont, result); |
1674 } | 1674 } |