]> git.eshelyaron.com Git - emacs.git/commitdiff
(resize_mini_window): If Vmax_mini_window_height is
authorGerd Moellmann <gerd@gnu.org>
Fri, 3 Aug 2001 09:55:40 +0000 (09:55 +0000)
committerGerd Moellmann <gerd@gnu.org>
Fri, 3 Aug 2001 09:55:40 +0000 (09:55 +0000)
a float, determine the max height from the frame's height.

src/ChangeLog
src/xdisp.c

index 7519c2a2b5a8efeed8b72cfb2c1c810f45a6ecc2..d5f0c03aad945ab599d5583fa4ed8c5c6f1040b1 100644 (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
index 5a0b9b60394517bc51b771539e3bf07ab0e27ab8..88d8580361755a29377f6c34e0022cae244655d6 100644 (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