]> git.eshelyaron.com Git - emacs.git/commitdiff
(window_box_height): Add comment.
authorMiles Bader <miles@gnu.org>
Fri, 15 Dec 2000 01:51:26 +0000 (01:51 +0000)
committerMiles Bader <miles@gnu.org>
Fri, 15 Dec 2000 01:51:26 +0000 (01:51 +0000)
src/xdisp.c

index f4324caa9bc6e699ca3fffb91ac84c536d3e16b9..1a4493583c79cd813e9426c3e82a77cec911eb04 100644 (file)
@@ -842,6 +842,12 @@ window_box_height (w)
 
   xassert (height >= 0);
   
+  /* Note: the code below that determines the mode-line/header-line
+     height is essentially the same as that contained in the macro
+     CURRENT_{MODE,HEADER}_LINE_HEIGHT, except that it checks whether
+     the appropriate glyph row has its `mode_line_p' flag set,
+     and if it doesn't, uses estimate_mode_line_height instead.  */
+
   if (WINDOW_WANTS_MODELINE_P (w))
     {
       struct glyph_row *ml_row