Function: plstore-get

plstore-get is a byte-compiled function defined in plstore.el.gz.

Signature

(plstore-get PLSTORE NAME)

Documentation

Return the entry named NAME in PLSTORE.

Return nil if there is none.

Source Code

;; Defined in /usr/src/emacs/lisp/plstore.el.gz
(defun plstore-get (plstore name)
  "Return the entry named NAME in PLSTORE.
Return nil if there is none."
  (let ((entry (assoc name (plstore--get-merged-alist plstore)))
	plist)
    (setq plist (cdr entry))
    (while plist
      (if (plstore--has-secret-keys plist)
	  (progn
	    (plstore--decrypt plstore)
	    (setq entry (assoc name (plstore--get-merged-alist plstore))
		  plist nil))
	(setq plist (nthcdr 2 plist))))
    entry))