Improve image cache clearing logic (Bug#6230).
authorChong Yidong <cyd@stupidchicken.com>
Fri, 21 May 2010 17:29:27 +0000 (13:29 -0400)
committerChong Yidong <cyd@stupidchicken.com>
Fri, 21 May 2010 17:29:27 +0000 (13:29 -0400)
commit98fe5161c42a5ec64df3d0418f918a5ab8c909d6
treebd9e7109dcc174cbdcbcb69149b14949c527ffec
parent6a6dbaceca1daa7f5e86c05eb3e7d4d71dbf40fc
Improve image cache clearing logic (Bug#6230).

* xdisp.c (redisplay_internal): Clear caches even if redisplaying
just one window.

* image.c (Vimage_cache_eviction_delay): Decrease to 300.
(clear_image_cache): If the number of cached images is unusually
large, decrease the cache eviction delay.
src/ChangeLog
src/image.c
src/xdisp.c