Function: secrets-set-alias

secrets-set-alias is a byte-compiled function defined in secrets.el.gz.

Signature

(secrets-set-alias COLLECTION ALIAS)

Documentation

Set ALIAS as alias of collection labeled COLLECTION.

For the time being, only the alias "default" is supported.

Source Code

;; Defined in /usr/src/emacs/lisp/net/secrets.el.gz
(defun secrets-set-alias (collection alias)
  "Set ALIAS as alias of collection labeled COLLECTION.
For the time being, only the alias \"default\" is supported."
  (let ((collection-path (secrets-collection-path collection)))
    (unless (secrets-empty-path collection-path)
      (dbus-call-method
       :session secrets-service secrets-path
       secrets-interface-service "SetAlias"
       alias :object-path collection-path))))