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

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

Re: kill buffer created by url-retrieve-synchronously


From: Lars Magne Ingebrigtsen
Subject: Re: kill buffer created by url-retrieve-synchronously
Date: Sat, 27 Feb 2016 14:28:36 +1030
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Peter Münster <pmlists@free.fr> writes:

> What should I do to ensure, that these buffers are always killed at the
> end of the function please?

Slap an `unwind-protect' around the main part of your function, and have
the `kill-buffer' in the unwind forms.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

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