(resize_mini_window): If Vmax_mini_window_height is

a float, determine the max height from the frame's height.
This commit is contained in:
Gerd Moellmann 2001-08-03 09:55:40 +00:00
parent 3ae02d92b6
commit 18f9986a54
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2001-08-03 Gerd Moellmann <gerd@gnu.org>
* xdisp.c (resize_mini_window): If Vmax_mini_window_height is
a float, determine the max height from the frame's height.
2001-08-02 Gerd Moellmann <gerd@gnu.org>
* xdisp.c (redisplay_internal): Take message_cleared_p into

View file

@ -6547,7 +6547,7 @@ resize_mini_window (w, exact_p)
/* Compute the max. number of lines specified by the user. */
if (FLOATP (Vmax_mini_window_height))
max_height = XFLOATINT (Vmax_mini_window_height) * total_height;
max_height = XFLOATINT (Vmax_mini_window_height) * FRAME_HEIGHT (f);
else if (INTEGERP (Vmax_mini_window_height))
max_height = XINT (Vmax_mini_window_height);
else