aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiles Bader2000-12-15 01:51:26 +0000
committerMiles Bader2000-12-15 01:51:26 +0000
commitd9c9e99cfac2f2e0b1ba75cb3dbdf57c8c222c24 (patch)
tree5f9feff9e95e4c823bd592df0e34d29c5d00eb8b
parentc2d7f289cf58afb721e39071f364dfe61c41a9cb (diff)
downloademacs-d9c9e99cfac2f2e0b1ba75cb3dbdf57c8c222c24.tar.gz
emacs-d9c9e99cfac2f2e0b1ba75cb3dbdf57c8c222c24.zip
(window_box_height): Add comment.
-rw-r--r--src/xdisp.c6
1 files changed, 6 insertions, 0 deletions
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)
842 842
843 xassert (height >= 0); 843 xassert (height >= 0);
844 844
845 /* Note: the code below that determines the mode-line/header-line
846 height is essentially the same as that contained in the macro
847 CURRENT_{MODE,HEADER}_LINE_HEIGHT, except that it checks whether
848 the appropriate glyph row has its `mode_line_p' flag set,
849 and if it doesn't, uses estimate_mode_line_height instead. */
850
845 if (WINDOW_WANTS_MODELINE_P (w)) 851 if (WINDOW_WANTS_MODELINE_P (w))
846 { 852 {
847 struct glyph_row *ml_row 853 struct glyph_row *ml_row