Subject: Re: bug#18373: desktop-create-buffer: may call bury-buffer on a just killed buffer (?)
From: Stefan Monnier <[email-masked]>
To: Ivan Shmakov <[email-masked]>
Cc: [email-masked]
Date: Tue, 09 Sep 2014 20:48:36 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

Version:24.4

> 	This, however, fails – should one or more of these buffers be
> 	killed after the list is saved but before it’s processed, – as
> 	happens with some (presumably temporary) buffers used by
> 	url-retrieve, which is in turn used while restoring EWW buffers
> 	per [1].  (Please note that the patch there is broken, though.)
> 	The patch MIMEd seems to fix the issue for me, although I’m not
> 	as of yet certain that no buffer can be killed in between the
> 	buffer-live-p check and the bury-buffer call.

Thanks, the patch looks good and safe, so I installed it into `emacs-24'.

        Stefan