From: Miles Bader Date: Fri, 15 Dec 2000 01:51:26 +0000 (+0000) Subject: (window_box_height): Add comment. X-Git-Tag: emacs-pretest-21.0.95~507 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d9c9e99cfac2f2e0b1ba75cb3dbdf57c8c222c24;p=emacs.git (window_box_height): Add comment. --- diff --git a/src/xdisp.c b/src/xdisp.c index f4324caa9bc..1a4493583c7 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -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