Mercurial > emacs
diff lisp/mail/emacsbug.el @ 81886:f18e4c78670d
(window_min_size_2): New function.
(window_min_size_1, size_window, Fdisplay_buffer)
(Fsplit_window, adjust_window_trailing_edge): Use it to avoid
windows without mode- or header-lines when window-min-height is
too small.
(size_window): Reset nodelete_p after testing it, following an
earlier note by Kim F. Storm.
(display_buffer): Do not set split_height_threshold to twice the
value of window_min_height to avoid changing the value of a
customizable variable. Rather explicitly check whether the
height of the window that shall be splitted is at least as large
as split_height_threshold.
author | Martin Rudalics <rudalics@gmx.at> |
---|---|
date | Sun, 15 Jul 2007 08:21:41 +0000 |
parents | a3474cbaf397 |
children | 8e27d63c45eb 738ce3540ffb 8c2ef9d5d4a8 |