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 17:57:29 +0100

Setting `desktop-load-locked-desktop' works _only if_ I know there is no
other emacs (daemon or not) owning the lock.  We still have a conflict 
otherwise.

Hence my suggested patch.

It won't work in the scenario Eli mentioned, but I'm not sure how
relevant that is.  Isn't better than than generating conflict with local
instance of Emacs?