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

[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 12:09:26 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Mon, Nov 11, 2019 at 11:58:43AM +0100, Andreas Röhler wrote:

[...]

> thanks. So I have to write something like
> 
> (save-current-buffer
>         (with-current-buffer buffer

Hm. I'm far from an expert, but I think

  (save-current-buffer
    (with-current-buffer buffer
      ...))

should be equivalent to

  (with-current-buffer buffer
    ...)

i.e. you can just drop the "outer" save-current-buffer. Still, if
I were you I'd wait for more expert advise :-)

Cheers
-- t

Attachment: signature.asc
Description: Digital signature


reply via email to

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