emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 59a2ad3: ; * src/xdisp.c (redisplay_internal): Impr


From: Eli Zaretskii
Subject: [Emacs-diffs] master 59a2ad3: ; * src/xdisp.c (redisplay_internal): Improve commentary.
Date: Sat, 24 Oct 2015 14:16:58 +0000

branch: master
commit 59a2ad3e75442f89f88e2cac304b09fb50e70cb6
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    ; * src/xdisp.c (redisplay_internal): Improve commentary.
---
 src/xdisp.c |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/src/xdisp.c b/src/xdisp.c
index 297f789..0576712 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -13931,7 +13931,15 @@ redisplay_internal (void)
       if (sf->fonts_changed || sf->redisplay)
        {
          if (sf->redisplay)
-           windows_or_buffers_changed = 50;
+           {
+             /* Set this to force a more thorough redisplay.
+                Otherwise, we might immediately loop back to the
+                above "else-if" clause (since all the conditions that
+                led here might still be true), and we will then
+                infloop, because the selected-frame's redisplay flag
+                is not (and cannot be) reset.  */
+             windows_or_buffers_changed = 50;
+           }
          goto retry;
        }
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]