From dd95745a7ab4958b8c5afaa2f84ac474e8df2a4e Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 19 Jan 2006 17:38:57 +0000 Subject: [PATCH] (read_minibuf): Fix previous change. --- src/minibuf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/minibuf.c b/src/minibuf.c index a0accf6ed50..a7b29c5c1e9 100644 --- a/src/minibuf.c +++ b/src/minibuf.c @@ -653,7 +653,8 @@ read_minibuf (map, initial, prompt, backup_n, expflag, 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); } -- 2.39.2