From 9f4e49e93ec3919d9ed38470f065c8b8b9120cb0 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Mon, 6 Jan 2014 18:28:26 +0200 Subject: [PATCH] Fix bug #16129 with slow and incorrect redisplay in follow-mode. src/xdisp.c (redisplay_window): Don't skip window redisplay if the last value of point is not equal to buffer's point. --- src/ChangeLog | 5 +++++ src/xdisp.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index a6c308771c2..a9575a14223 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2014-01-06 Eli Zaretskii + + * xdisp.c (redisplay_window): Don't skip window redisplay if the + last value of point is not equal to buffer's point. (Bug#16129) + 2014-01-05 Paul Eggert Spelling fixes. diff --git a/src/xdisp.c b/src/xdisp.c index 035edc0ff55..404c8a61e52 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -15621,7 +15621,8 @@ redisplay_window (Lisp_Object window, bool just_this_one_p) && REDISPLAY_SOME_P () && !w->redisplay && !f->redisplay - && !buffer->text->redisplay) + && !buffer->text->redisplay + && BUF_PT (buffer) == w->last_point) return; /* Make sure that both W's markers are valid. */ -- 2.39.2