]> git.eshelyaron.com Git - emacs.git/commitdiff
(direct_output_for_insert): Call set_iterator_to_next
authorGerd Moellmann <gerd@gnu.org>
Fri, 13 Oct 2000 18:27:25 +0000 (18:27 +0000)
committerGerd Moellmann <gerd@gnu.org>
Fri, 13 Oct 2000 18:27:25 +0000 (18:27 +0000)
with additional argument.

src/ChangeLog
src/dispnew.c

index 2cf61287e7d8582750cc4c160a91a2efe9eb90f0..842e21714c632b0daf9b070c2bb869b4b365fe27 100644 (file)
@@ -1,5 +1,8 @@
 2000-10-13  Gerd Moellmann  <gerd@gnu.org>
 
+       * dispnew.c (direct_output_for_insert): Call set_iterator_to_next
+       with additional argument.
+
        * xdisp.c (cursor_row_p): New function.
        (try_cursor_movement, display_line): Use it.
        
index b20383dcfa91920c74ccb9937a4cade2f251092f..be01f6756e299206015c80c0a6c68618c3ef784c 100644 (file)
@@ -3262,7 +3262,7 @@ direct_output_for_insert (g)
 
       delta += 1;
       delta_bytes += it.len;
-      set_iterator_to_next (&it);
+      set_iterator_to_next (&it, 1);
     }
 
   /* Give up if we hit the right edge of the window.  We would have
@@ -3280,7 +3280,7 @@ direct_output_for_insert (g)
     {
       if (it2.c == '\t')
        return 0;
-      set_iterator_to_next (&it2);
+      set_iterator_to_next (&it2, 1);
     }
 
   /* Number of new glyphs produced.  */