[Top][All Lists]

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

Re: desktop-buffer-info and set-buffer

From: Eli Zaretskii
Subject: Re: desktop-buffer-info and set-buffer
Date: Sun, 01 Mar 2015 17:32:41 +0200

> Date: Sun, 1 Mar 2015 10:03:26 +0000
> From: Artur Malabarba <address@hidden>
> I noticed yesterday that `desktop-buffer-info' uses `set-buffer' instead of
> `with-current-buffer'. 
> I couldn't find any particular reason for that, but I'm asking here if anyone
> knows why, before I go and change it.

Why waste cycles on restoring the buffer, when it will be immediately
changed to some other buffer?

reply via email to

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