]> git.eshelyaron.com Git - emacs.git/commitdiff
(display_line): For a tab continued to the next line,
authorGerd Moellmann <gerd@gnu.org>
Tue, 23 Oct 2001 10:03:25 +0000 (10:03 +0000)
committerGerd Moellmann <gerd@gnu.org>
Tue, 23 Oct 2001 10:03:25 +0000 (10:03 +0000)
set row's ends_in_middle_of_char_p.

src/ChangeLog
src/xdisp.c

index 9894fcd1139c5d1e50c4b754e0d0811a4ca43b64..a4d3047eb16f8c82195241432a94c702317f71ab 100644 (file)
@@ -1,3 +1,8 @@
+2001-10-23  Gerd Moellmann  <gerd@gnu.org>
+
+       * 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  <schwab@suse.de>
 
        * m/macppc.h [LINUX]: Undef LD_SWITCH_SYSTEM_TEMACS and override
index 6705a917b484e7dba0bccde96d1c3966babada2b..b2a36c9b498c67ecd1fac1d04002df4fcbbab09a 100644 (file)
@@ -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;