diff options
author | Gerd Moellmann <gerd@gnu.org> | 2001-05-10 12:40:21 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 2001-05-10 12:40:21 +0000 |
commit | e60f45278bd1479894f5842f23a5c3db44aa94f5 (patch) | |
tree | 8fdcfce7c5ef5be943583d8f19d6f8bd8729f20c | |
parent | 23fca89114fcb4088e164fee3d94750651ebb947 (diff) | |
download | emacs-e60f45278bd1479894f5842f23a5c3db44aa94f5.tar.gz |
(try_window_id): Fix case of all changes before
the window start.
-rw-r--r-- | src/xdisp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index f9b9cb3c9ab..82c5dbc54d5 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -11179,9 +11179,9 @@ try_window_id (w) 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; |