Mercurial > emacs
diff src/frame.c @ 102481:66d0ea986f06
(x_set_font): When ARG is a font-object, don't alter the
fontset of the frame.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Wed, 11 Mar 2009 07:53:37 +0000 |
parents | a94440e70b7c |
children | 3854b305c65b |
line wrap: on
line diff
--- a/src/frame.c Wed Mar 11 07:51:33 2009 +0000 +++ b/src/frame.c Wed Mar 11 07:53:37 2009 +0000 @@ -3399,10 +3399,11 @@ else if (FONT_OBJECT_P (arg)) { font_object = arg; - /* This is store the XLFD font name in the frame parameter for + /* This is to store the XLFD font name in the frame parameter for backward compatiblity. We should store the font-object itself in the future. */ arg = AREF (font_object, FONT_NAME_INDEX); + fontset = FRAME_FONTSET (f); } else signal_error ("Invalid font", arg);