From: Lars Magne Ingebrigtsen <lmi@gnus.org>
To: "Peter Münster" <pmlists@free.fr>
Cc: help-gnu-emacs@gnu.org
Subject: Re: kill buffer created by url-retrieve-synchronously
Date: Sat, 27 Feb 2016 14:28:36 +1030 [thread overview]
Message-ID: <87lh66ls7n.fsf@gnus.org> (raw)
In-Reply-To: <mailman.5945.1456485979.843.help-gnu-emacs@gnu.org> ("Peter \=\?iso-8859-1\?Q\?M\=FCnster\=22's\?\= message of "Fri, 26 Feb 2016 12:25:50 +0100")
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
next parent reply other threads:[~2016-02-27 3:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.5945.1456485979.843.help-gnu-emacs@gnu.org>
2016-02-27 3:58 ` Lars Magne Ingebrigtsen [this message]
2016-02-27 17:55 ` kill buffer created by url-retrieve-synchronously Peter Münster
[not found] ` <mailman.6062.1456595760.843.help-gnu-emacs@gnu.org>
2016-02-28 3:52 ` Lars Magne Ingebrigtsen
2016-02-26 11:25 Peter Münster
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87lh66ls7n.fsf@gnus.org \
--to=lmi@gnus.org \
--cc=help-gnu-emacs@gnu.org \
--cc=pmlists@free.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.