From b2b5455df945f3e3643b8ae0ead11109f0d9f13e Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 20 Jan 2003 08:53:53 +0000 Subject: [PATCH] (redisplay_window): If mini window's buffer is not a minibuffer, then redisplay it like other windows. --- src/xdisp.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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. */ -- 2.39.2