aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann2001-09-18 10:30:56 +0000
committerGerd Moellmann2001-09-18 10:30:56 +0000
commitbfc97351b0c1cb96832bd25cec6c1bc18722668e (patch)
tree8172bb85e13f49ff99b707dea9d6ec0b39dfc4ea /src
parent55732434fea6017c05286f3191a02832c559b965 (diff)
downloademacs-bfc97351b0c1cb96832bd25cec6c1bc18722668e.tar.gz
emacs-bfc97351b0c1cb96832bd25cec6c1bc18722668e.zip
(try_window_id) [!GLYPH_DEBUG]: Give up if
first_unchanged_at_end_row is in front of last_unchanged_at_beg_row. This code should be removed after the release of 21.1.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog7
-rw-r--r--src/xdisp.c15
2 files changed, 22 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 7258c8cce89..f6891ec274b 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,10 @@
12001-09-18 Gerd Moellmann <gerd@gnu.org>
2
3 * xdisp.c (try_window_id) [!GLYPH_DEBUG]: Give up if
4 first_unchanged_at_end_row is in front of
5 last_unchanged_at_beg_row. This code should be removed after the
6 release of 21.1.
7
12001-09-17 Gerd Moellmann <gerd@gnu.org> 82001-09-17 Gerd Moellmann <gerd@gnu.org>
2 9
3 * buffer.h (BUF_COMPUTE_UNCHANGED): Use BUF_MODIFF and 10 * buffer.h (BUF_COMPUTE_UNCHANGED): Use BUF_MODIFF and
diff --git a/src/xdisp.c b/src/xdisp.c
index a3ac927f785..df8720ee0e8 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -11491,8 +11491,23 @@ try_window_id (w)
11491 stop_pos = 0; 11491 stop_pos = 0;
11492 if (first_unchanged_at_end_row) 11492 if (first_unchanged_at_end_row)
11493 { 11493 {
11494#if GLYPH_DEBUG
11494 xassert (last_unchanged_at_beg_row == NULL 11495 xassert (last_unchanged_at_beg_row == NULL
11495 || first_unchanged_at_end_row >= last_unchanged_at_beg_row); 11496 || first_unchanged_at_end_row >= last_unchanged_at_beg_row);
11497#else
11498 /* This is for the release of 21.1 only, and should be removed
11499 after the release.
11500
11501 This case means that unchanged information is probably bogus,
11502 which leads to being unable to compute a correct
11503 first_unchanged_at_end_row. At least that was the case in
11504 one debugging session. I've fixed a bug that can lead to
11505 wrong unchanged info, but didn't find a way to reproduce this
11506 case. 2001-09-18 gerd. */
11507 if (last_unchanged_at_beg_row
11508 && first_unchanged_at_end_row < last_unchanged_at_beg_row)
11509 GIVE_UP (20);
11510#endif
11496 11511
11497 /* If this is a continuation line, move forward to the next one 11512 /* If this is a continuation line, move forward to the next one
11498 that isn't. Changes in lines above affect this line. 11513 that isn't. Changes in lines above affect this line.