From: Gerd Moellmann Date: Fri, 13 Oct 2000 18:27:25 +0000 (+0000) Subject: (direct_output_for_insert): Call set_iterator_to_next X-Git-Tag: emacs-pretest-21.0.90~896 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a2e2a7f656ef24a26b0f93fb66e2dfa35c8b87d6;p=emacs.git (direct_output_for_insert): Call set_iterator_to_next with additional argument. --- diff --git a/src/ChangeLog b/src/ChangeLog index 2cf61287e7d..842e21714c6 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,8 @@ 2000-10-13 Gerd Moellmann + * 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. diff --git a/src/dispnew.c b/src/dispnew.c index b20383dcfa9..be01f6756e2 100644 --- a/src/dispnew.c +++ b/src/dispnew.c @@ -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. */