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.
This commit is contained in:
Eli Zaretskii 2014-01-06 18:28:26 +02:00
parent a0031f97ff
commit 9f4e49e93e
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2014-01-06 Eli Zaretskii <eliz@gnu.org>
* 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 <eggert@cs.ucla.edu>
Spelling fixes.

View file

@ -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. */