Subject: bug#14096: 24.3; fit-window-to-buffer regression

From: martin rudalics <[email-masked]>
Date: Sat, 30 Mar 2013 20:29:31 +0100

> On 24.3, fit-window-to-buffer no longer respects window-min-height.
 >
 > 1. Make two window on a frame with one stacked on top of another
 > 2. Make a new buffer in one of the window, type any word
 > 3. M-x fit-window-to-buffer
 >
 > You should see the new buffer shrunk to 1 line while window-min-height
 > is 4.

Unfortunately, I also messed up the manual entry.  Anyway, I'm changing
this currently to make the window fit the size of the buffer as it is
displayed and also counting the real size of the mode and the headerline
and a couple of other things.  If you want to fix this yourself, call
(window-min-size) instead of (window-min-size nil nil t).

Thanks for the report, martin