Function: secrets-lock-item
secrets-lock-item is a byte-compiled function defined in
secrets.el.gz.
Signature
(secrets-lock-item COLLECTION ITEM)
Documentation
Lock collection item labeled ITEM in COLLECTION.
If successful, return the object path of the item. Does not lock the collection.
Source Code
;; Defined in /usr/src/emacs/lisp/net/secrets.el.gz
(defun secrets-lock-item (collection item)
"Lock collection item labeled ITEM in COLLECTION.
If successful, return the object path of the item. Does not lock
the collection."
(let ((item-path (secrets-item-path collection item)))
(unless (secrets-empty-path item-path)
(secrets-prompt
(cadr
(dbus-call-method
:session secrets-service secrets-path secrets-interface-service
"Lock" `(:array :object-path ,item-path)))))
item-path))