]> git.eshelyaron.com Git - emacs.git/commit
Avoid failing in desktop-clear due to killed buffers
authorSergey Organov <sorganov@gmail.com>
Thu, 22 Jul 2021 12:22:26 +0000 (14:22 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 22 Jul 2021 12:22:26 +0000 (14:22 +0200)
commit6f9ff3d7493d144af182ddd6fcf512f98b78ad0c
tree26896dce154b061a213fad022e5344d8ab869c9e
parent0dcc4449812658ab289c26e2b11c0d5bbf69a2cc
Avoid failing in desktop-clear due to killed buffers

* lisp/desktop.el (desktop-clear): check that buffer is not already
killed before attempting to kill it. A buffer might become killed as
part of regular operation as a side-effect of killing another buffer,
and then attempt to kill it again causes error (bug#49692).

Copyright-paperwork-exempt: yes
lisp/desktop.el