From 544e358dcaac7e64b0f82cf5f7324f73e45a355f Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Fri, 3 Sep 1999 15:52:10 +0000 Subject: [PATCH] (read_minibuf_unwind): Resize mini-window when reaching minibuf_level 0. --- src/minibuf.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/minibuf.c b/src/minibuf.c index 258ef3ea720..99368824a31 100644 --- a/src/minibuf.c +++ b/src/minibuf.c @@ -635,6 +635,11 @@ read_minibuf_unwind (data) unbind_to (count, Qnil); } + /* When we get to the outmost level, make sure we resize the + mini-window back to its normal size. */ + if (minibuf_level == 0) + resize_mini_window (XWINDOW (window)); + /* Make sure minibuffer window is erased, not ignored. */ windows_or_buffers_changed++; XSETFASTINT (XWINDOW (window)->last_modified, 0); -- 2.39.5