From: Eli Zaretskii Date: Sat, 24 Oct 2015 14:16:14 +0000 (+0300) Subject: ; * src/xdisp.c (redisplay_internal): Improve commentary. X-Git-Tag: emacs-25.0.90~1037 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=59a2ad3e75442f89f88e2cac304b09fb50e70cb6;p=emacs.git ; * src/xdisp.c (redisplay_internal): Improve commentary. --- diff --git a/src/xdisp.c b/src/xdisp.c index 297f789cdaf..057671246e3 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; }