From: Eli Zaretskii Date: Mon, 6 Jan 2014 16:28:26 +0000 (+0200) Subject: Fix bug #16129 with slow and incorrect redisplay in follow-mode. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~51 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9f4e49e93ec3919d9ed38470f065c8b8b9120cb0;p=emacs.git 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. --- 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. */