From: Chong Yidong Date: Sat, 17 Mar 2007 19:47:13 +0000 (+0000) Subject: (try_window_id): Increment matrix positions if the buffer's byte count X-Git-Tag: emacs-pretest-22.0.96~90 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fa0ae4cf7e57451530f6ef3b6c9da681b7bdc383;p=emacs.git (try_window_id): Increment matrix positions if the buffer's byte count has increased, but not the character count. --- diff --git a/src/xdisp.c b/src/xdisp.c index 07762f56582..544043f2747 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -14898,7 +14898,7 @@ try_window_id (w) 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);