Mercurial > emacs
changeset 68396:75dead191600
(Fx_create_frame): Put all specified parms into f->param_alist
unless they were cleared out.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 26 Jan 2006 17:49:48 +0000 |
parents | 00f2522b62f3 |
children | 5b1791b98dc2 |
files | src/xfns.c |
diffstat | 1 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xfns.c Thu Jan 26 17:48:52 2006 +0000 +++ b/src/xfns.c Thu Jan 26 17:49:48 2006 +0000 @@ -3008,6 +3008,8 @@ check_x (); + 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; @@ -3384,6 +3386,12 @@ || !FRAME_LIVE_P (XFRAME (kb->Vdefault_minibuffer_frame)))) kb->Vdefault_minibuffer_frame = frame; + /* All remaining specified parameters, which have not been "used" + by x_get_arg and friends, now go in the misc. alist of the frame. */ + for (tem = parms; !NILP (tem); tem = XCDR (tem)) + if (CONSP (XCAR (tem)) && !NILP (XCAR (XCAR (tem)))) + f->param_alist = Fcons (XCAR (tem), f->param_alist); + UNGCPRO; /* Make sure windows on this frame appear in calls to next-window