aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2014-01-06 18:28:26 +0200
committerEli Zaretskii2014-01-06 18:28:26 +0200
commit9f4e49e93ec3919d9ed38470f065c8b8b9120cb0 (patch)
tree99252191c917ed612fb8184e882b4baf6dd44a83
parenta0031f97ff0f8631ee2b28b0a6624dafc6c4f2ae (diff)
downloademacs-9f4e49e93ec3919d9ed38470f065c8b8b9120cb0.tar.gz
emacs-9f4e49e93ec3919d9ed38470f065c8b8b9120cb0.zip
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.
-rw-r--r--src/ChangeLog5
-rw-r--r--src/xdisp.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index a6c308771c2..a9575a14223 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12014-01-06 Eli Zaretskii <eliz@gnu.org>
2
3 * xdisp.c (redisplay_window): Don't skip window redisplay if the
4 last value of point is not equal to buffer's point. (Bug#16129)
5
12014-01-05 Paul Eggert <eggert@cs.ucla.edu> 62014-01-05 Paul Eggert <eggert@cs.ucla.edu>
2 7
3 Spelling fixes. 8 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)
15621 && REDISPLAY_SOME_P () 15621 && REDISPLAY_SOME_P ()
15622 && !w->redisplay 15622 && !w->redisplay
15623 && !f->redisplay 15623 && !f->redisplay
15624 && !buffer->text->redisplay) 15624 && !buffer->text->redisplay
15625 && BUF_PT (buffer) == w->last_point)
15625 return; 15626 return;
15626 15627
15627 /* Make sure that both W's markers are valid. */ 15628 /* Make sure that both W's markers are valid. */