From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.help Subject: Re: kill buffer created by url-retrieve-synchronously Date: Sat, 27 Feb 2016 14:28:36 +1030 Message-ID: <87lh66ls7n.fsf@gnus.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1456545575 22697 80.91.229.3 (27 Feb 2016 03:59:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 27 Feb 2016 03:59:35 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Peter =?iso-8859-1?Q?M=FCnster?= Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Feb 27 04:59:27 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aZW2Q-0008Sg-FO for geh-help-gnu-emacs@m.gmane.org; Sat, 27 Feb 2016 04:59:26 +0100 Original-Received: from localhost ([::1]:53225 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZW2Q-0007eg-14 for geh-help-gnu-emacs@m.gmane.org; Fri, 26 Feb 2016 22:59:26 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32828) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZW2F-0007eY-Ko for help-gnu-emacs@gnu.org; Fri, 26 Feb 2016 22:59:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZW2A-0008G4-M8 for help-gnu-emacs@gnu.org; Fri, 26 Feb 2016 22:59:15 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:34286) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZW2A-0008Fs-FV for help-gnu-emacs@gnu.org; Fri, 26 Feb 2016 22:59:10 -0500 Original-Received: from [175.103.25.178] (helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aZW1h-0001dj-3u; Sat, 27 Feb 2016 04:58:41 +0100 In-Reply-To: ("Peter \=\?iso-8859-1\?Q\?M\=FCnster\=22's\?\= message of "Fri, 26 Feb 2016 12:25:50 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-MailScanner-ID: 1aZW1h-0001dj-3u MailScanner-NULL-Check: 1457150322.45362@QpviG7aL56w5F7kBTKYiMw X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.224.195 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:109332 Archived-At: Peter M=FCnster 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. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no