Mercurial > emacs
changeset 16522:63ca7c6ceeff
(window_loop, case GET_BUFFER_WINDOW):
Don't find any minibuffer window
except the one that is currently in use.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 06 Nov 1996 07:38:41 +0000 |
parents | fe9cc0d392dd |
children | 53306ee8953d |
files | src/window.c |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/window.c Tue Nov 05 19:49:19 1996 +0000 +++ b/src/window.c Wed Nov 06 07:38:41 1996 +0000 @@ -1319,7 +1319,11 @@ 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;