Commit 544e358d authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(read_minibuf_unwind): Resize mini-window when

reaching minibuf_level 0.
parent 1784207c
...@@ -635,6 +635,11 @@ read_minibuf_unwind (data) ...@@ -635,6 +635,11 @@ read_minibuf_unwind (data)
unbind_to (count, Qnil); 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. */ /* Make sure minibuffer window is erased, not ignored. */
windows_or_buffers_changed++; windows_or_buffers_changed++;
XSETFASTINT (XWINDOW (window)->last_modified, 0); XSETFASTINT (XWINDOW (window)->last_modified, 0);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment