diff options
| author | Gerd Moellmann | 1999-09-03 15:52:10 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 1999-09-03 15:52:10 +0000 |
| commit | 544e358dcaac7e64b0f82cf5f7324f73e45a355f (patch) | |
| tree | d2d142a736e7010e09a92ed9b7a02f583a4e79b7 /src | |
| parent | 1784207c0a01331668e50b7505c3a98baf298de7 (diff) | |
| download | emacs-544e358dcaac7e64b0f82cf5f7324f73e45a355f.tar.gz emacs-544e358dcaac7e64b0f82cf5f7324f73e45a355f.zip | |
(read_minibuf_unwind): Resize mini-window when
reaching minibuf_level 0.
Diffstat (limited to 'src')
| -rw-r--r-- | src/minibuf.c | 5 |
1 files changed, 5 insertions, 0 deletions
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) | |||
| 635 | unbind_to (count, Qnil); | 635 | unbind_to (count, Qnil); |
| 636 | } | 636 | } |
| 637 | 637 | ||
| 638 | /* When we get to the outmost level, make sure we resize the | ||
| 639 | mini-window back to its normal size. */ | ||
| 640 | if (minibuf_level == 0) | ||
| 641 | resize_mini_window (XWINDOW (window)); | ||
| 642 | |||
| 638 | /* Make sure minibuffer window is erased, not ignored. */ | 643 | /* Make sure minibuffer window is erased, not ignored. */ |
| 639 | windows_or_buffers_changed++; | 644 | windows_or_buffers_changed++; |
| 640 | XSETFASTINT (XWINDOW (window)->last_modified, 0); | 645 | XSETFASTINT (XWINDOW (window)->last_modified, 0); |