Commit 5c204627 authored by Richard M. Stallman's avatar Richard M. Stallman

(window_loop, case GET_BUFFER_WINDOW):

Don't find any minibuffer window
except the one that is currently in use.
parent c0efcacf
......@@ -1319,7 +1319,11 @@ window_loop (type, obj, mini, frames)
switch (type)
{
case GET_BUFFER_WINDOW:
if (XBUFFER (XWINDOW (w)->buffer) == XBUFFER (obj))
if (XBUFFER (XWINDOW (w)->buffer) == XBUFFER (obj)
/* Don't find any minibuffer window
except the one that is currently in use. */
&& (MINI_WINDOW_P (XWINDOW (w))
? EQ (w, minibuf_window) : 1))
return w;
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment