mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-30 08:09:04 +00:00
(size_window): When setting the window's too_small_ok
flag, compare old size with minimum size depending on WIDTH_P, don't compare with window_min_width.
This commit is contained in:
parent
27940e1f01
commit
f18625cd58
@ -2404,7 +2404,7 @@ size_window (window, size, width_p, nodelete_p)
|
||||
min_size = window_min_height;
|
||||
}
|
||||
|
||||
if (old_size < window_min_width)
|
||||
if (old_size < min_size)
|
||||
w->too_small_ok = Qt;
|
||||
|
||||
/* Maybe delete WINDOW if it's too small. */
|
||||
|
Loading…
Reference in New Issue
Block a user