# HG changeset patch # User Chong Yidong # Date 1151188032 0 # Node ID 9e62d7b78e513471f7e80ae404157a4664f47c72 # Parent 17eaebce73aa634606a5fec375f7a8d033538cae * xfns.c (Fx_create_frame): Set font parameter directly instead of using x_default_parameter, since x_get_args clears the parm alist. diff -r 17eaebce73aa -r 9e62d7b78e51 src/ChangeLog --- 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 + + * 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 * dired.c (directory_files_internal) [WINDOWSNT]: Find files diff -r 17eaebce73aa -r 9e62d7b78e51 src/xfns.c --- 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