[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: with-current-buffer
From: |
tomas |
Subject: |
Re: with-current-buffer |
Date: |
Mon, 11 Nov 2019 10:04:59 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Mon, Nov 11, 2019 at 09:31:08AM +0100, Andreas Röhler wrote:
> Hi,
>
> docstring of "with-current-buffer" says:
>
> "Execute the forms in BODY with BUFFER-OR-NAME temporarily current."
>
> However, seems the old buffer isn't stored, buffer-or-name specified
> here remain current.
>
> Also don't see inside the macro which way the old buffer should be restored:
This is the job of save-current-buffer, no?
Cheers
-- tomás
signature.asc
Description: Digital signature