Mercurial > emacs
changeset 67363:87de4735ecc9
(Fx_create_frame): Initialize Vdefault_minibuffer_frame, when needed.
author | Károly Lőrentey <lorentey@elte.hu> |
---|---|
date | Wed, 07 Dec 2005 17:06:33 +0000 |
parents | ca155a6d12ad |
children | 7736e7015779 |
files | src/ChangeLog src/xfns.c |
diffstat | 2 files changed, 12 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Wed Dec 07 09:22:53 2005 +0000 +++ b/src/ChangeLog Wed Dec 07 17:06:33 2005 +0000 @@ -1,3 +1,8 @@ +2005-12-07 L$,1 q(Brentey K,Aa(Broly <lorentey@elte.hu> + + * xfns.c (Fx_create_frame): Initialize Vdefault_minibuffer_frame, + when needed. + 2005-12-06 Stefan Monnier <monnier@iro.umontreal.ca> * minibuf.c (keys_of_minibuf): Just unbind SPC in
--- a/src/xfns.c Wed Dec 07 09:22:53 2005 +0000 +++ b/src/xfns.c Wed Dec 07 17:06:33 2005 +0000 @@ -3373,6 +3373,13 @@ UNBLOCK_INPUT; } + /* Initialize `default-minibuffer-frame' in case this is the first + frame on this display device. */ + if (FRAME_HAS_MINIBUF_P (f) + && (!FRAMEP (kb->Vdefault_minibuffer_frame) + || !FRAME_LIVE_P (XFRAME (kb->Vdefault_minibuffer_frame)))) + kb->Vdefault_minibuffer_frame = frame; + UNGCPRO; /* Make sure windows on this frame appear in calls to next-window