diff options
| author | Eli Zaretskii | 2009-09-20 16:06:53 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2009-09-20 16:06:53 +0000 |
| commit | 2702e4ac03ad43ddb80f63db2ba6ae435fabb1f4 (patch) | |
| tree | ae12bf73ac11c5cb73f75f689c1b88c21cfe71e1 | |
| parent | e3f36d034a01edde47dfa5df0c9bbd3f2eff125c (diff) | |
| download | emacs-2702e4ac03ad43ddb80f63db2ba6ae435fabb1f4.tar.gz emacs-2702e4ac03ad43ddb80f63db2ba6ae435fabb1f4.zip | |
Fix comments about header lines.
| -rw-r--r-- | src/xdisp.c | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 58a077fe5f5..d0916f7f0bd 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -1635,7 +1635,7 @@ compute_string_pos (newpos, pos, string) | |||
| 1635 | } | 1635 | } |
| 1636 | 1636 | ||
| 1637 | /* EXPORT: | 1637 | /* EXPORT: |
| 1638 | Return an estimation of the pixel height of mode or top lines on | 1638 | Return an estimation of the pixel height of mode or header lines on |
| 1639 | frame F. FACE_ID specifies what line's height to estimate. */ | 1639 | frame F. FACE_ID specifies what line's height to estimate. */ |
| 1640 | 1640 | ||
| 1641 | int | 1641 | int |
| @@ -13854,8 +13854,8 @@ redisplay_window (window, just_this_one_p) | |||
| 13854 | = DESIRED_MODE_LINE_HEIGHT (w); | 13854 | = DESIRED_MODE_LINE_HEIGHT (w); |
| 13855 | } | 13855 | } |
| 13856 | 13856 | ||
| 13857 | /* If top line height has changed, arrange for a thorough | 13857 | /* If header line height has changed, arrange for a thorough |
| 13858 | immediate redisplay using the correct mode line height. */ | 13858 | immediate redisplay using the correct header line height. */ |
| 13859 | if (WINDOW_WANTS_HEADER_LINE_P (w) | 13859 | if (WINDOW_WANTS_HEADER_LINE_P (w) |
| 13860 | && CURRENT_HEADER_LINE_HEIGHT (w) != DESIRED_HEADER_LINE_HEIGHT (w)) | 13860 | && CURRENT_HEADER_LINE_HEIGHT (w) != DESIRED_HEADER_LINE_HEIGHT (w)) |
| 13861 | { | 13861 | { |
| @@ -17189,8 +17189,8 @@ redisplay_mode_lines (window, force) | |||
| 17189 | } | 17189 | } |
| 17190 | 17190 | ||
| 17191 | 17191 | ||
| 17192 | /* Display the mode and/or top line of window W. Value is the number | 17192 | /* Display the mode and/or header line of window W. Value is the |
| 17193 | of mode lines displayed. */ | 17193 | sum number of mode lines and header lines displayed. */ |
| 17194 | 17194 | ||
| 17195 | static int | 17195 | static int |
| 17196 | display_mode_lines (w) | 17196 | display_mode_lines (w) |
| @@ -17231,10 +17231,11 @@ display_mode_lines (w) | |||
| 17231 | } | 17231 | } |
| 17232 | 17232 | ||
| 17233 | 17233 | ||
| 17234 | /* Display mode or top line of window W. FACE_ID specifies which line | 17234 | /* Display mode or header line of window W. FACE_ID specifies which |
| 17235 | to display; it is either MODE_LINE_FACE_ID or HEADER_LINE_FACE_ID. | 17235 | line to display; it is either MODE_LINE_FACE_ID or |
| 17236 | FORMAT is the mode line format to display. Value is the pixel | 17236 | HEADER_LINE_FACE_ID. FORMAT is the mode/header line format to |
| 17237 | height of the mode line displayed. */ | 17237 | display. Value is the pixel height of the mode/header line |
| 17238 | displayed. */ | ||
| 17238 | 17239 | ||
| 17239 | static int | 17240 | static int |
| 17240 | display_mode_line (w, face_id, format) | 17241 | display_mode_line (w, face_id, format) |