summaryrefslogtreecommitdiff
path: root/lisp/gnus/plstore.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2016-02-12 16:49:01 +1100
committerLars Ingebrigtsen <larsi@gnus.org>2016-02-12 16:49:01 +1100
commit210a895757fc89138a7ec21cbf7fc8cb14b3c0b8 (patch)
tree61f982ac361a98044d108c807f377672d33c64e9 /lisp/gnus/plstore.el
parentba9c534b955c3f0ef6dac7b2ecc1a125507b481c (diff)
downloademacs-210a895757fc89138a7ec21cbf7fc8cb14b3c0b8.tar.gz
Avoid obsolete function in plstore
* lisp/gnus/plstore.el (plstore--insert-buffer): Use setf instead of the obsolete epg-context-set-armor.
Diffstat (limited to 'lisp/gnus/plstore.el')
-rw-r--r--lisp/gnus/plstore.el2
1 files changed, 1 insertions, 1 deletions
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