Function: plstore-save

plstore-save is an autoloaded and byte-compiled function defined in plstore.el.gz.

Signature

(plstore-save PLSTORE)

Documentation

Save PLSTORE to its associated file.

Save with symmetric encryption or public key encryption depending on plstore-encrypt-to. If plstore-encrypt-to is non-nil but none of the recipients from plstore-encrypt-to matches any GnuPG key, silently save with symmetric encryption.

Source Code

;; Defined in /usr/src/emacs/lisp/plstore.el.gz
(defun plstore-save (plstore)
  "Save PLSTORE to its associated file.
Save with symmetric encryption or public key encryption depending
on `plstore-encrypt-to'.  If `plstore-encrypt-to' is non-nil but
none of the recipients from `plstore-encrypt-to' matches any
GnuPG key, silently save with symmetric encryption." ; (FIXME)
  (with-current-buffer (plstore--get-buffer plstore)
    (erase-buffer)
    (plstore--insert-buffer plstore)
    (save-buffer)))