[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 4ba9024: Ensure updating the animated image in all windows
From: |
Lars Ingebrigtsen |
Subject: |
master 4ba9024: Ensure updating the animated image in all windows |
Date: |
Tue, 4 May 2021 04:05:32 -0400 (EDT) |
branch: master
commit 4ba9024d44566e47d9624e3316eab7b936fd141f
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Ensure updating the animated image in all windows
* lisp/image.el (image-show-frame): Simplify the window update --
pass in the buffer, which is a noop if the buffer isn't displayed.
---
lisp/image.el | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/lisp/image.el b/lisp/image.el
index 643f9dd..ee15294 100644
--- a/lisp/image.el
+++ b/lisp/image.el
@@ -875,9 +875,7 @@ do not check N is within the range of frames present in the
image."
(setq n (min n (1- (car (plist-get (cdr image)
:animate-multi-frame-data)))))))
(plist-put (cdr image) :index n)
- (when-let ((window
- (get-buffer-window (plist-get (cdr image) :animate-buffer) t)))
- (force-window-update window)))
+ (force-window-update (plist-get (cdr image) :animate-buffer)))
(defun image-animate-get-speed (image)
"Return the speed factor for animating IMAGE."
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 4ba9024: Ensure updating the animated image in all windows,
Lars Ingebrigtsen <=