Function: image-animate-set-speed
image-animate-set-speed is a byte-compiled function defined in
image.el.gz.
Signature
(image-animate-set-speed IMAGE VALUE &optional MULTIPLY)
Documentation
Set the speed factor for animating IMAGE to VALUE.
With optional argument MULTIPLY non-nil, treat VALUE as a multiplication factor for the current value.
Source Code
;; Defined in /usr/src/emacs/lisp/image.el.gz
(defun image-animate-set-speed (image value &optional multiply)
"Set the speed factor for animating IMAGE to VALUE.
With optional argument MULTIPLY non-nil, treat VALUE as a
multiplication factor for the current value."
(plist-put (cdr image) :speed
(if multiply
(* value (image-animate-get-speed image))
value)))