Commit 6f9ff3d7 authored by Sergey Organov's avatar Sergey Organov Committed by Lars Ingebrigtsen
Browse files

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
parent 0dcc4449
Pipeline #11533 failed with stages
in 1 minute and 11 seconds