Mercurial > emacs
changeset 105536:1ae9eb863fbc
(redisplay_internal): Fix typos in comments.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Sat, 10 Oct 2009 08:09:22 +0000 |
parents | e33093eaa152 |
children | 3a0c70761091 |
files | src/xdisp.c |
diffstat | 1 files changed, 8 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xdisp.c Fri Oct 09 20:32:02 2009 +0000 +++ b/src/xdisp.c Sat Oct 10 08:09:22 2009 +0000 @@ -11607,7 +11607,7 @@ && PT >= CHARPOS (tlbufpos) && PT <= Z - CHARPOS (tlendpos) /* All text outside that line, including its final newline, - must be unchanged */ + must be unchanged. */ && text_outside_line_unchanged_p (w, CHARPOS (tlbufpos), CHARPOS (tlendpos))) { @@ -11615,15 +11615,15 @@ && FETCH_BYTE (BYTEPOS (tlbufpos) - 1) != '\n' && (CHARPOS (tlbufpos) == ZV || FETCH_BYTE (BYTEPOS (tlbufpos)) == '\n')) - /* Former continuation line has disappeared by becoming empty */ + /* Former continuation line has disappeared by becoming empty. */ goto cancel; else if (XFASTINT (w->last_modified) < MODIFF || XFASTINT (w->last_overlay_modified) < OVERLAY_MODIFF || MINI_WINDOW_P (w)) { /* We have to handle the case of continuation around a - wide-column character (See the comment in indent.c around - line 885). + wide-column character (see the comment in indent.c around + line 1340). For instance, in the following case: @@ -11633,13 +11633,14 @@ ^^ ^^ -------- -------- - As we have to redraw the line above, we should goto cancel. */ + As we have to redraw the line above, we cannot use this + optimization. */ struct it it; int line_height_before = this_line_pixel_height; /* Note that start_display will handle the case that the - line starting at tlbufpos is a continuation lines. */ + line starting at tlbufpos is a continuation line. */ start_display (&it, w, tlbufpos); /* Implementation note: It this still necessary? */ @@ -11655,7 +11656,7 @@ display_line (&it); /* If line contains point, is not continued, - and ends at same distance from eob as before, we win */ + and ends at same distance from eob as before, we win. */ if (w->cursor.vpos >= 0 /* Line is not continued, otherwise this_line_start_pos would have been set to 0 in display_line. */