aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann2000-10-13 18:27:25 +0000
committerGerd Moellmann2000-10-13 18:27:25 +0000
commita2e2a7f656ef24a26b0f93fb66e2dfa35c8b87d6 (patch)
tree8f9a1b7763d61b2d84984c08934629783a3d5f4e /src
parent1574933b68e4a1b7747f5df5a0a836bb967630eb (diff)
downloademacs-a2e2a7f656ef24a26b0f93fb66e2dfa35c8b87d6.tar.gz
emacs-a2e2a7f656ef24a26b0f93fb66e2dfa35c8b87d6.zip
(direct_output_for_insert): Call set_iterator_to_next
with additional argument.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog3
-rw-r--r--src/dispnew.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 2cf61287e7d..842e21714c6 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,8 @@
12000-10-13 Gerd Moellmann <gerd@gnu.org> 12000-10-13 Gerd Moellmann <gerd@gnu.org>
2 2
3 * dispnew.c (direct_output_for_insert): Call set_iterator_to_next
4 with additional argument.
5
3 * xdisp.c (cursor_row_p): New function. 6 * xdisp.c (cursor_row_p): New function.
4 (try_cursor_movement, display_line): Use it. 7 (try_cursor_movement, display_line): Use it.
5 8
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)
3262 3262
3263 delta += 1; 3263 delta += 1;
3264 delta_bytes += it.len; 3264 delta_bytes += it.len;
3265 set_iterator_to_next (&it); 3265 set_iterator_to_next (&it, 1);
3266 } 3266 }
3267 3267
3268 /* Give up if we hit the right edge of the window. We would have 3268 /* Give up if we hit the right edge of the window. We would have
@@ -3280,7 +3280,7 @@ direct_output_for_insert (g)
3280 { 3280 {
3281 if (it2.c == '\t') 3281 if (it2.c == '\t')
3282 return 0; 3282 return 0;
3283 set_iterator_to_next (&it2); 3283 set_iterator_to_next (&it2, 1);
3284 } 3284 }
3285 3285
3286 /* Number of new glyphs produced. */ 3286 /* Number of new glyphs produced. */