Mercurial > emacs
diff src/xfns.c @ 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 | d50a6a8cfd1e |
children | d3419a52a937 37d0562504bf |
line wrap: on
line diff
--- 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