diff options
| author | Eli Zaretskii | 2015-10-24 17:16:14 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2015-10-24 17:16:14 +0300 |
| commit | 59a2ad3e75442f89f88e2cac304b09fb50e70cb6 (patch) | |
| tree | 02e260a6611710fdadd84b0ebb28f4c9442c3a53 /src | |
| parent | c88d85dcd7cc4c3dd89d9564938dcfbdc45f163f (diff) | |
| download | emacs-59a2ad3e75442f89f88e2cac304b09fb50e70cb6.tar.gz emacs-59a2ad3e75442f89f88e2cac304b09fb50e70cb6.zip | |
; * src/xdisp.c (redisplay_internal): Improve commentary.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 10 |
1 files changed, 9 insertions, 1 deletions
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) | |||
| 13931 | if (sf->fonts_changed || sf->redisplay) | 13931 | if (sf->fonts_changed || sf->redisplay) |
| 13932 | { | 13932 | { |
| 13933 | if (sf->redisplay) | 13933 | if (sf->redisplay) |
| 13934 | windows_or_buffers_changed = 50; | 13934 | { |
| 13935 | /* Set this to force a more thorough redisplay. | ||
| 13936 | Otherwise, we might immediately loop back to the | ||
| 13937 | above "else-if" clause (since all the conditions that | ||
| 13938 | led here might still be true), and we will then | ||
| 13939 | infloop, because the selected-frame's redisplay flag | ||
| 13940 | is not (and cannot be) reset. */ | ||
| 13941 | windows_or_buffers_changed = 50; | ||
| 13942 | } | ||
| 13935 | goto retry; | 13943 | goto retry; |
| 13936 | } | 13944 | } |
| 13937 | 13945 | ||