changeset 68261:380cef0ff139

(read_minibuf): Fix previous change.
author Richard M. Stallman <rms@gnu.org>
date Thu, 19 Jan 2006 17:38:57 +0000
parents da161b813076
children bd5ef7de54da
files src/minibuf.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/minibuf.c	Thu Jan 19 17:37:05 2006 +0000
+++ b/src/minibuf.c	Thu Jan 19 17:38:57 2006 +0000
@@ -653,7 +653,8 @@
       Lisp_Object root_window = Fframe_root_window (frame);
       Lisp_Object mini_window = XWINDOW (root_window)->next;
 
-      if (! NILP (mini_window) && !NILP (Fwindow_minibuffer_p (mini_window)))
+      if (! NILP (mini_window) && ! EQ (mini_window, minibuf_window)
+	  && !NILP (Fwindow_minibuffer_p (mini_window)))
 	Fset_window_buffer (mini_window, empty_minibuf, Qnil);
     }