[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 18:12:00 +0200

> Date: Sun, 1 Mar 2015 16:06:15 +0000
> From: Artur Malabarba <address@hidden>
> Cc: emacs-devel <address@hidden>
> > Why waste cycles on restoring the buffer, when it will be immediately
> > changed to some other buffer?
> Because (by name and purpose) it looks like a function without side effects, 
> so
> it's a little surprising that it has.

If this is the only issue, documenting it should be enough.

> I don't think this would make a noticeable difference in performance, but if
> it's necessary for performance reasons I'll just write something on a
> docstring.

I don't think it's performance-critical, either, but IMO doing
unnecessary things is unclean regardless.

In any case, this is a minor issue.

reply via email to

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