diff options
| author | Eli Zaretskii | 2019-02-04 19:42:33 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2019-02-04 19:42:33 +0200 |
| commit | ef17247fe9cab2d59e470daad24314c868248b0a (patch) | |
| tree | bdbc2082ba69afdfa637d7dbe44e9b9803b21a0d /src/coding.c | |
| parent | f33a5dc9475ae43bb2477e648befd6a893d216f1 (diff) | |
| download | emacs-ef17247fe9cab2d59e470daad24314c868248b0a.tar.gz emacs-ef17247fe9cab2d59e470daad24314c868248b0a.zip | |
Avoid segfaults due to image cache being cleared during redisplay
* src/xdisp.c (redisplay_internal): Set the
inhibit_clear_image_cache flag of a frame while its windows
are being redisplayed, and reset the flag after the call top
update_frame returns.
* src/image.c (clear_image_cache): Do nothing if the frame's
inhibit_clear_image_cache flag is set. (Bug#34256)
* src/frame.h (struct frame): New flag inhibit_clear_image_cache.
Diffstat (limited to 'src/coding.c')
0 files changed, 0 insertions, 0 deletions