]> git.eshelyaron.com Git - emacs.git/commitdiff
Avoid obsolete function in plstore
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 12 Feb 2016 05:49:01 +0000 (16:49 +1100)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 12 Feb 2016 05:49:01 +0000 (16:49 +1100)
* lisp/gnus/plstore.el (plstore--insert-buffer): Use setf
instead of the obsolete epg-context-set-armor.

lisp/gnus/plstore.el

index 5685590a4465c4ae1438aa10639480e0ba0cb096..62c50c0f4a184beebcc1c8b960a57f8bf137c434 100644 (file)
@@ -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