emacs-devel
[Top][All Lists]
Advanced

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

Re: desktop-buffer-info and set-buffer


From: Andreas Röhler
Subject: Re: desktop-buffer-info and set-buffer
Date: Sun, 01 Mar 2015 14:33:15 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Icedove/31.4.0

On 01.03.2015 11:03, Artur Malabarba wrote:
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.

Cheers


AFAIU you are right.

Employed by desktop-save: a test, which would fail if desktop-save changes the 
current-buffer, should reveal the connected bug.

Thanks,

Andreas




reply via email to

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