diff options
| author | Chong Yidong | 2007-03-17 19:47:13 +0000 |
|---|---|---|
| committer | Chong Yidong | 2007-03-17 19:47:13 +0000 |
| commit | fa0ae4cf7e57451530f6ef3b6c9da681b7bdc383 (patch) | |
| tree | fca49eb3e20bbe39389ecd40ba7f455214d3bc07 /src | |
| parent | e338790f00e12053a1d2f7cefca768271dd3b51b (diff) | |
| download | emacs-fa0ae4cf7e57451530f6ef3b6c9da681b7bdc383.tar.gz emacs-fa0ae4cf7e57451530f6ef3b6c9da681b7bdc383.zip | |
(try_window_id): Increment matrix positions if the buffer's byte count
has increased, but not the character count.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
| 14898 | sync_frame_with_window_matrix_rows (w); | 14898 | sync_frame_with_window_matrix_rows (w); |
| 14899 | 14899 | ||
| 14900 | /* Adjust buffer positions in reused rows. */ | 14900 | /* Adjust buffer positions in reused rows. */ |
| 14901 | if (delta) | 14901 | if (delta || delta_bytes) |
| 14902 | increment_matrix_positions (current_matrix, | 14902 | increment_matrix_positions (current_matrix, |
| 14903 | first_unchanged_at_end_vpos + dvpos, | 14903 | first_unchanged_at_end_vpos + dvpos, |
| 14904 | bottom_vpos, delta, delta_bytes); | 14904 | bottom_vpos, delta, delta_bytes); |