Mercurial > emacs
diff src/macfns.c @ 94713:84f10f4c61cb
(Fx_create_frame): Make a copy of frame parameters
because the original parameters are in pure storage now.
(mac_window): Remove unused params. Update callers.
| author | Dan Nicolaescu <dann@ics.uci.edu> |
|---|---|
| date | Wed, 07 May 2008 06:01:08 +0000 |
| parents | 3af508d0bd74 |
| children | 8971ddf55736 |
line wrap: on
line diff
--- a/src/macfns.c Wed May 07 03:45:57 2008 +0000 +++ b/src/macfns.c Wed May 07 06:01:08 2008 +0000 @@ -2153,10 +2153,8 @@ /* Create and set up the Mac window for frame F. */ static void -mac_window (f, window_prompting, minibuffer_only) +mac_window (f) struct frame *f; - long window_prompting; - int minibuffer_only; { BLOCK_INPUT; @@ -2410,6 +2408,8 @@ check_mac (); + parms = Fcopy_alist (parms); + /* Use this general default value to start with until we know if this frame has a specified name. */ Vx_resource_name = Vinvocation_name; @@ -2622,7 +2622,7 @@ tem = mac_get_arg (parameters, Qunsplittable, 0, 0, RES_TYPE_BOOLEAN); f->no_split = minibuffer_only || EQ (tem, Qt); - mac_window (f, window_prompting, minibuffer_only); + mac_window (f); x_icon (f, parameters); x_make_gc (f);
