desktop-claim-lock

desktop-claim-lock is a compiled Lisp function in `desktop.el'.

(desktop-claim-lock &optional DIRNAME)

Record this Emacs process as the owner of the desktop file in DIRNAME.
DIRNAME omitted or nil means use `desktop-dirname'.