aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2016-02-12 16:49:01 +1100
committerLars Ingebrigtsen2016-02-12 16:49:01 +1100
commit210a895757fc89138a7ec21cbf7fc8cb14b3c0b8 (patch)
tree61f982ac361a98044d108c807f377672d33c64e9
parentba9c534b955c3f0ef6dac7b2ecc1a125507b481c (diff)
downloademacs-210a895757fc89138a7ec21cbf7fc8cb14b3c0b8.tar.gz
emacs-210a895757fc89138a7ec21cbf7fc8cb14b3c0b8.zip
Avoid obsolete function in plstore
* lisp/gnus/plstore.el (plstore--insert-buffer): Use setf instead of the obsolete epg-context-set-armor.
-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."
422 ((listp plstore-encrypt-to) plstore-encrypt-to) 422 ((listp plstore-encrypt-to) plstore-encrypt-to)
423 ((stringp plstore-encrypt-to) (list plstore-encrypt-to)))) 423 ((stringp plstore-encrypt-to) (list plstore-encrypt-to))))
424 cipher) 424 cipher)
425 (epg-context-set-armor context t) 425 (setf (epg-context-armor context) t)
426 (epg-context-set-passphrase-callback 426 (epg-context-set-passphrase-callback
427 context 427 context
428 (cons #'plstore-passphrase-callback-function 428 (cons #'plstore-passphrase-callback-function