comparison src/xfaces.c @ 31292:b176433657cc

(set_font_frame_param): Use Fmodify_frame_parameters instead of store_frame_param.
author Gerd Moellmann <gerd@gnu.org>
date Wed, 30 Aug 2000 13:16:08 +0000
parents 2be1770112c1
children 67f5b4186ed2
comparison
equal deleted inserted replaced
31291:f62423f3a3c4 31292:b176433657cc
4057 if (!font) 4057 if (!font)
4058 error ("No font matches the specified attribute"); 4058 error ("No font matches the specified attribute");
4059 font_name = build_string (font); 4059 font_name = build_string (font);
4060 xfree (font); 4060 xfree (font);
4061 } 4061 }
4062 store_frame_param (f, Qfont, font_name); 4062
4063 Fmodify_frame_parameters (frame, Fcons (Fcons (Qfont, font_name), Qnil));
4063 } 4064 }
4064 4065
4065 4066
4066 /* Update the corresponding face when frame parameter PARAM on frame F 4067 /* Update the corresponding face when frame parameter PARAM on frame F
4067 has been assigned the value NEW_VALUE. */ 4068 has been assigned the value NEW_VALUE. */