summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/play/animate.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/play/animate.el b/lisp/play/animate.el
index f3c77b31a5d..54ee9dc84eb 100644
--- a/lisp/play/animate.el
+++ b/lisp/play/animate.el
@@ -138,7 +138,7 @@ in the current window."
;; Make sure buffer is displayed starting at the beginning.
(set-window-start nil 1)
;; Display it, and wait just a little while.
- (sit-for (/ animate-total-added-delay (max animate-n-steps 1)))
+ (sit-for (/ (float animate-total-added-delay) (max animate-n-steps 1)))
;; Now undo the changes we made in the buffer.
(setq list-to-undo buffer-undo-list)
(while list-to-undo