# HG changeset patch # User Chong Yidong # Date 1174160833 0 # Node ID e8252c50e93da7f5e0322a67900b2e9602172c95 # Parent 2ff5f73cb28ec814e63c7a654751d990a1b062a8 (try_window_id): Increment matrix positions if the buffer's byte count has increased, but not the character count. diff -r 2ff5f73cb28e -r e8252c50e93d src/xdisp.c --- a/src/xdisp.c Sat Mar 17 19:46:52 2007 +0000 +++ b/src/xdisp.c Sat Mar 17 19:47:13 2007 +0000 @@ -14898,7 +14898,7 @@ sync_frame_with_window_matrix_rows (w); /* Adjust buffer positions in reused rows. */ - if (delta) + if (delta || delta_bytes) increment_matrix_positions (current_matrix, first_unchanged_at_end_vpos + dvpos, bottom_vpos, delta, delta_bytes);