Mercurial > emacs
changeset 71476:9e62d7b78e51
* xfns.c (Fx_create_frame): Set font parameter directly instead of
using x_default_parameter, since x_get_args clears the parm alist.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Sat, 24 Jun 2006 22:27:12 +0000 |
parents | 17eaebce73aa |
children | eb1fe905e1f8 |
files | src/ChangeLog src/xfns.c |
diffstat | 2 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Sat Jun 24 17:23:33 2006 +0000 +++ b/src/ChangeLog Sat Jun 24 22:27:12 2006 +0000 @@ -1,3 +1,8 @@ +2006-06-24 Chong Yidong <cyd@stupidchicken.com> + + * xfns.c (Fx_create_frame): Set font parameter directly instead of + using x_default_parameter, since x_get_args clears the parm alist. + 2006-06-24 Eli Zaretskii <eliz@gnu.org> * dired.c (directory_files_internal) [WINDOWSNT]: Find files
--- a/src/xfns.c Sat Jun 24 17:23:33 2006 +0000 +++ b/src/xfns.c Sat Jun 24 22:27:12 2006 +0000 @@ -3189,8 +3189,7 @@ if (! STRINGP (font)) font = build_string ("fixed"); - x_default_parameter (f, parms, Qfont, font, - "font", "Font", RES_TYPE_STRING); + x_set_frame_parameters (f, Fcons (Fcons (Qfont, font), Qnil)); } #ifdef USE_LUCID