unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: master 1fa1f31: Speed up animation of non-displayed buffers
       [not found] ` <20210503095200.C8CFF20D0E@vcs0.savannah.gnu.org>
@ 2021-05-03 12:58   ` Stefan Monnier
  2021-05-04  7:57     ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Monnier @ 2021-05-03 12:58 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: emacs-devel

> +  (when-let ((window
> +              (get-buffer-window (plist-get (cdr image) :animate-buffer) t)))
> +    (force-window-update window)))

When displayed in several windows, we should update all the windows.
Luckily, it makes the code simpler because `force-window-update` can
take a buffer as argument.


        Stefan




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: master 1fa1f31: Speed up animation of non-displayed buffers
  2021-05-03 12:58   ` master 1fa1f31: Speed up animation of non-displayed buffers Stefan Monnier
@ 2021-05-04  7:57     ` Lars Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2021-05-04  7:57 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: emacs-devel

Stefan Monnier <monnier@iro.umontreal.ca> writes:

> When displayed in several windows, we should update all the windows.
> Luckily, it makes the code simpler because `force-window-update` can
> take a buffer as argument.

Good catch; fixed now.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-04  7:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20210503095159.26154.42558@vcs0.savannah.gnu.org>
     [not found] ` <20210503095200.C8CFF20D0E@vcs0.savannah.gnu.org>
2021-05-03 12:58   ` master 1fa1f31: Speed up animation of non-displayed buffers Stefan Monnier
2021-05-04  7:57     ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).