From: Richard M. Stallman Date: Mon, 20 Jan 2003 08:53:53 +0000 (+0000) Subject: (redisplay_window): If mini window's buffer is not X-Git-Tag: ttn-vms-21-2-B4~11576 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b2b5455df945f3e3643b8ae0ead11109f0d9f13e;p=emacs.git (redisplay_window): If mini window's buffer is not a minibuffer, then redisplay it like other windows. --- diff --git a/src/xdisp.c b/src/xdisp.c index 87770b52ddd..5f57e9725fc 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -210,6 +210,7 @@ extern int interrupt_input; extern int command_loop_level; extern int minibuffer_auto_raise; +extern Lisp_Object Vminibuffer_list; extern Lisp_Object Qface; extern Lisp_Object Qmode_line, Qmode_line_inactive, Qheader_line; @@ -10230,8 +10231,9 @@ redisplay_window (window, just_this_one_p) /* We've already displayed the echo area glyphs in this window. */ goto finish_scroll_bars; } - else if (w != XWINDOW (minibuf_window) - || minibuf_level == 0) + else if ((w != XWINDOW (minibuf_window) + || minibuf_level == 0) + && !NILP (Fmemq (w->buffer, Vminibuffer_list))) { /* W is a mini-buffer window, but it's not the currently active one, so clear it. */