(defun plstore--init-from-buffer (plstore)
(goto-char (point-min))
- (when (looking-at ";;; public entries\n")
+ (when (looking-at ";;; public entries")
(forward-line)
(plstore--set-alist plstore (read (point-marker)))
(forward-sexp)
(forward-char)
- (when (looking-at ";;; secret entries\n")
+ (when (looking-at ";;; secret entries")
(forward-line)
(plstore--set-encrypted-data plstore (read (point-marker))))
(plstore--merge-secret plstore)))
recipients)
(if plstore-encrypt-to
(epg-list-keys context recipients)))))
+ (goto-char (point-max))
(insert ";;; secret entries\n" (pp-to-string cipher))))
(save-buffer)))