aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2009-10-10 08:09:22 +0000
committerEli Zaretskii2009-10-10 08:09:22 +0000
commit997d1c4dd028920ec844ba4ebc63ee7d429c62e5 (patch)
tree35a9ffae1427c3a2d979e15eb1f24a902a5a49c8 /src
parentfa63f49c89bcc2c8ca9f89e3cf58dc49da8df15f (diff)
downloademacs-997d1c4dd028920ec844ba4ebc63ee7d429c62e5.tar.gz
emacs-997d1c4dd028920ec844ba4ebc63ee7d429c62e5.zip
(redisplay_internal): Fix typos in comments.
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 05a5e07e6f4..614c349cfb4 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -11607,7 +11607,7 @@ redisplay_internal (preserve_echo_area)
11607 && PT >= CHARPOS (tlbufpos) 11607 && PT >= CHARPOS (tlbufpos)
11608 && PT <= Z - CHARPOS (tlendpos) 11608 && PT <= Z - CHARPOS (tlendpos)
11609 /* All text outside that line, including its final newline, 11609 /* All text outside that line, including its final newline,
11610 must be unchanged */ 11610 must be unchanged. */
11611 && text_outside_line_unchanged_p (w, CHARPOS (tlbufpos), 11611 && text_outside_line_unchanged_p (w, CHARPOS (tlbufpos),
11612 CHARPOS (tlendpos))) 11612 CHARPOS (tlendpos)))
11613 { 11613 {
@@ -11615,15 +11615,15 @@ redisplay_internal (preserve_echo_area)
11615 && FETCH_BYTE (BYTEPOS (tlbufpos) - 1) != '\n' 11615 && FETCH_BYTE (BYTEPOS (tlbufpos) - 1) != '\n'
11616 && (CHARPOS (tlbufpos) == ZV 11616 && (CHARPOS (tlbufpos) == ZV
11617 || FETCH_BYTE (BYTEPOS (tlbufpos)) == '\n')) 11617 || FETCH_BYTE (BYTEPOS (tlbufpos)) == '\n'))
11618 /* Former continuation line has disappeared by becoming empty */ 11618 /* Former continuation line has disappeared by becoming empty. */
11619 goto cancel; 11619 goto cancel;
11620 else if (XFASTINT (w->last_modified) < MODIFF 11620 else if (XFASTINT (w->last_modified) < MODIFF
11621 || XFASTINT (w->last_overlay_modified) < OVERLAY_MODIFF 11621 || XFASTINT (w->last_overlay_modified) < OVERLAY_MODIFF
11622 || MINI_WINDOW_P (w)) 11622 || MINI_WINDOW_P (w))
11623 { 11623 {
11624 /* We have to handle the case of continuation around a 11624 /* We have to handle the case of continuation around a
11625 wide-column character (See the comment in indent.c around 11625 wide-column character (see the comment in indent.c around
11626 line 885). 11626 line 1340).
11627 11627
11628 For instance, in the following case: 11628 For instance, in the following case:
11629 11629
@@ -11633,13 +11633,14 @@ redisplay_internal (preserve_echo_area)
11633 ^^ ^^ 11633 ^^ ^^
11634 -------- -------- 11634 -------- --------
11635 11635
11636 As we have to redraw the line above, we should goto cancel. */ 11636 As we have to redraw the line above, we cannot use this
11637 optimization. */
11637 11638
11638 struct it it; 11639 struct it it;
11639 int line_height_before = this_line_pixel_height; 11640 int line_height_before = this_line_pixel_height;
11640 11641
11641 /* Note that start_display will handle the case that the 11642 /* Note that start_display will handle the case that the
11642 line starting at tlbufpos is a continuation lines. */ 11643 line starting at tlbufpos is a continuation line. */
11643 start_display (&it, w, tlbufpos); 11644 start_display (&it, w, tlbufpos);
11644 11645
11645 /* Implementation note: It this still necessary? */ 11646 /* Implementation note: It this still necessary? */
@@ -11655,7 +11656,7 @@ redisplay_internal (preserve_echo_area)
11655 display_line (&it); 11656 display_line (&it);
11656 11657
11657 /* If line contains point, is not continued, 11658 /* If line contains point, is not continued,
11658 and ends at same distance from eob as before, we win */ 11659 and ends at same distance from eob as before, we win. */
11659 if (w->cursor.vpos >= 0 11660 if (w->cursor.vpos >= 0
11660 /* Line is not continued, otherwise this_line_start_pos 11661 /* Line is not continued, otherwise this_line_start_pos
11661 would have been set to 0 in display_line. */ 11662 would have been set to 0 in display_line. */