Subject: bug#30421: 25.3; desktop.el: Steal lock when no living "emacs" process owns it

From: Pierre Neidhardt <[email-masked]>
Date: Sun, 11 Feb 2018 18:23:49 +0100

> Alternatively, don't read desktop until the first client connects,
> i.e. do that in a after-make-frame-functions hook.  Reading desktop in
> daemon mode is problematic for other reasons as well: e.g., GUI frames
> cannot be created and GUI features cannot be turned on.

That's an excellent suggestions.  You are right, it has been troublesome
more than a few times.  I think both we should mention this in the
manual together with `desktop-load-locked-desktop'.

Thank you!