changeset 49331:50665500140c

(redisplay_window): If mini window's buffer is not a minibuffer, then redisplay it like other windows.
author Richard M. Stallman <rms@gnu.org>
date Mon, 20 Jan 2003 08:53:53 +0000
parents 99f721b3f74e
children 30d026130eaa
files src/xdisp.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Mon Jan 20 08:52:12 2003 +0000
+++ b/src/xdisp.c	Mon Jan 20 08:53:53 2003 +0000
@@ -210,6 +210,7 @@
 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 @@
 	    /* 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.  */