emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What makes set-window-buffer slow?


From: Eli Zaretskii
Subject: Re: What makes set-window-buffer slow?
Date: Sat, 25 Jun 2016 17:39:52 +0300

> Date: Sat, 25 Jun 2016 17:27:17 +0300
> From: Eli Zaretskii <address@hidden>
> Cc: address@hidden, address@hidden, address@hidden
> 
> > Cc: address@hidden, address@hidden, address@hidden
> > From: Clément Pit--Claudel <address@hidden>
> > Date: Sat, 25 Jun 2016 10:07:11 -0400
> > 
> > > Does the WINDOW argument of set-window-buffer name the selected window
> > > at the time of the call?  If not, set-window-buffer will cause all the
> > > other windows to be redisplayed, so arranging for WINDOW to be the
> > > selected window might speed up things.
> > 
> > The window was indeed not selected at the time of the call. Would a
> > simple with-selected-window around the call do it?
> 
> Yes, I think so.

Actually, I see that in Emacs 24.4, this factor should have made no
difference, sorry.  (I was looking at the current sources when I wrote
the above.)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]