help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: with-current-buffer


From: Joost Kremers
Subject: Re: with-current-buffer
Date: Mon, 11 Nov 2019 12:16:33 +0100
User-agent: mu4e 1.3.5; emacs 26.3


On Mon, Nov 11 2019, Andreas Röhler wrote:
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.

Could you be more specific? `save-current-buffer` works fine for me.

Also don't see inside the macro which way the old buffer should be restored:

That's done by `save-current-buffer`.


--
Joost Kremers
Life has its moments



reply via email to

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