Function: plstore-delete

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

Signature

(plstore-delete PLSTORE NAME)

Documentation

Delete the first entry named NAME from PLSTORE.

Source Code

;; Defined in /usr/src/emacs/lisp/plstore.el.gz
(defun plstore-delete (plstore name)
  "Delete the first entry named NAME from PLSTORE."
  (let ((entry (assoc name (plstore--get-alist plstore))))
    (if entry
	(plstore--set-alist
	 plstore
	 (delq entry (plstore--get-alist plstore))))
    (setq entry (assoc name (plstore--get-secret-alist plstore)))
    (if entry
	(plstore--set-secret-alist
	 plstore
	 (delq entry (plstore--get-secret-alist plstore))))
    (setq entry (assoc name (plstore--get-merged-alist plstore)))
    (if entry
	(plstore--set-merged-alist
	 plstore
	 (delq entry (plstore--get-merged-alist plstore))))))