From 210a895757fc89138a7ec21cbf7fc8cb14b3c0b8 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Fri, 12 Feb 2016 16:49:01 +1100 Subject: [PATCH] Avoid obsolete function in plstore * lisp/gnus/plstore.el (plstore--insert-buffer): Use setf instead of the obsolete epg-context-set-armor. --- lisp/gnus/plstore.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/gnus/plstore.el b/lisp/gnus/plstore.el index 5685590a446..62c50c0f4a1 100644 --- a/lisp/gnus/plstore.el +++ b/lisp/gnus/plstore.el @@ -422,7 +422,7 @@ SECRET-KEYS is a plist containing secret data." ((listp plstore-encrypt-to) plstore-encrypt-to) ((stringp plstore-encrypt-to) (list plstore-encrypt-to)))) cipher) - (epg-context-set-armor context t) + (setf (epg-context-armor context) t) (epg-context-set-passphrase-callback context (cons #'plstore-passphrase-callback-function -- 2.39.2