]> git.eshelyaron.com Git - emacs.git/commit
Allow stopping animations automatically when the image disappears
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 12 Nov 2021 02:27:23 +0000 (03:27 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 12 Nov 2021 02:31:53 +0000 (03:31 +0100)
commita204b29d5ba01f382203686929fa367a9baa58d5
tree320352bc9185dca149728415d5ca7b96a04aed04
parentfe0f7bddb648a75d1db4ea574536a207ea881712
Allow stopping animations automatically when the image disappears

* lisp/image.el (image-animate): Allow the animation to be stopped
automatically when the image is removed from the buffer.
(image-animate-timeout): Stop the animation if the image is
removed (and that has been requested).

* lisp/net/shr.el (shr-put-image): Stop animations if the image is
removed.
lisp/image.el
lisp/net/shr.el