(set_window_height): Allow all heights > 0 for minibuffer windows.
(change_window_height): Fix one-off comparing DELTA with MAXIMUM.
This commit is contained in:
parent
049f742524
commit
c6b530ed93
1 changed files with 4 additions and 2 deletions
|
@ -1735,7 +1735,9 @@ set_window_height (window, height, nodelete)
|
|||
|
||||
if (!nodelete
|
||||
&& ! NILP (w->parent)
|
||||
&& height < window_min_height)
|
||||
&& (MINI_WINDOW_P (w)
|
||||
? height < 1
|
||||
: height < window_min_height))
|
||||
{
|
||||
delete_window (window);
|
||||
return;
|
||||
|
@ -2608,7 +2610,7 @@ change_window_height (delta, widthflag)
|
|||
maximum += (*sizefun) (prev) - MINSIZE (prev);
|
||||
|
||||
/* If we can get it all from them, do so. */
|
||||
if (delta < maximum)
|
||||
if (delta <= maximum)
|
||||
{
|
||||
Lisp_Object first_unaffected;
|
||||
Lisp_Object first_affected;
|
||||
|
|
Loading…
Add table
Reference in a new issue