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