From: Lars Ingebrigtsen Date: Fri, 12 Feb 2016 05:49:01 +0000 (+1100) Subject: Avoid obsolete function in plstore X-Git-Tag: emacs-26.0.90~2613 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=210a895757fc89138a7ec21cbf7fc8cb14b3c0b8;p=emacs.git Avoid obsolete function in plstore * lisp/gnus/plstore.el (plstore--insert-buffer): Use setf instead of the obsolete epg-context-set-armor. --- 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