From: Gerd Moellmann Date: Tue, 23 Oct 2001 10:03:25 +0000 (+0000) Subject: (display_line): For a tab continued to the next line, X-Git-Tag: emacs-21.2~491 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c0db1933a929b3a9c256f9eec7fa593391d953be;p=emacs.git (display_line): For a tab continued to the next line, set row's ends_in_middle_of_char_p. --- diff --git a/src/ChangeLog b/src/ChangeLog index 9894fcd1139..a4d3047eb16 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2001-10-23 Gerd Moellmann + + * xdisp.c (display_line): For a tab continued to the next line, + set row's ends_in_middle_of_char_p. + 2001-10-23 Andreas Schwab * m/macppc.h [LINUX]: Undef LD_SWITCH_SYSTEM_TEMACS and override diff --git a/src/xdisp.c b/src/xdisp.c index 6705a917b48..b2a36c9b498 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -12963,7 +12963,10 @@ display_line (it) /* A TAB takes us to the right edge of the window. */ if (it->c == '\t') - it->continuation_lines_width += it->last_visible_x; + { + it->continuation_lines_width += it->last_visible_x; + row->ends_in_middle_of_char_p = 1; + } else it->continuation_lines_width += x;