Mercurial > emacs
diff src/xdisp.c @ 37669:b88adb23e3e1
(try_window_id): Fix case of all changes before
the window start.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Thu, 10 May 2001 12:40:21 +0000 |
parents | e8ec6c4a8e8a |
children | f62a33411ad8 |
line wrap: on
line diff
--- a/src/xdisp.c Thu May 10 12:25:51 2001 +0000 +++ b/src/xdisp.c Thu May 10 12:40:21 2001 +0000 @@ -11179,9 +11179,9 @@ be adjusted, of course. */ row = MATRIX_ROW (w->current_matrix, XFASTINT (w->window_end_vpos)); if (MATRIX_ROW_DISPLAYS_TEXT_P (row) - && ((first_changed_charpos < CHARPOS (start) + && ((last_changed_charpos < CHARPOS (start) && CHARPOS (start) == BEGV) - || (first_changed_charpos < CHARPOS (start) - 1 + || (last_changed_charpos < CHARPOS (start) - 1 && FETCH_BYTE (BYTEPOS (start) - 1) == '\n'))) { int Z_old, delta, Z_BYTE_old, delta_bytes;