]> git.eshelyaron.com Git - emacs.git/commit
Make clear-image-cache clear the animation cache
authorLars Ingebrigtsen <larsi@gnus.org>
Thu, 14 Jul 2022 09:40:49 +0000 (11:40 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 14 Jul 2022 09:49:47 +0000 (11:49 +0200)
commit4738aa1e12460ecf55ef08b72c585cbbafe51520
tree3f385c353f9928689f10f06b7ce5851b5fbfb38d
parent3ec7b278521c19b435a7168e55ddbdd918817edd
Make clear-image-cache clear the animation cache

* src/dispextern.h: Declare image_prune_animation_caches for use
in gc.

* src/image.c (Fclear_image_cache): Clear animation cache.
(anim_prune_animation_cache, anim_get_animation_cache): Allow
clearing in addition to pruning.
(imagemagick_prune_animation_cache)
(imagemagick_get_animation_cache): Ditto.
(image_prune_animation_caches): New function (bug#56546).
src/dispextern.h
src/image.c