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

unofficial mirror of emacs-devel@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/emacs-devel/0 emacs-devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 emacs-devel emacs-devel/ https://yhetil.org/emacs-devel \
		emacs-devel@gnu.org
	public-inbox-index emacs-devel

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.emacs.devel
	nntp://news.gmane.io/gmane.emacs.devel


code repositories for project(s) associated with this inbox:

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

AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git