]> git.eshelyaron.com Git - emacs.git/commitdiff
Replace the usage of an obsolete function in auth-source.el
authorNicolas Petton <nicolas@petton.fr>
Sun, 11 Oct 2015 20:58:35 +0000 (22:58 +0200)
committerNicolas Petton <nicolas@petton.fr>
Sun, 11 Oct 2015 20:58:35 +0000 (22:58 +0200)
* lisp/gnus/auth-source.el (auth-source-epa-make-gpg-token): Replace an
  usage of `epg-context-set-armor' with `setf'.

lisp/gnus/auth-source.el

index 52ea368dfce07e3699ead16d5476bb272f1b2190..75e6d0499d029aa8b313b1e560300011d074d0f0 100644 (file)
@@ -1152,7 +1152,7 @@ FILE is the file from which we obtained this token."
   (let ((context (epg-make-context 'OpenPGP))
         (pp-escape-newlines nil)
         cipher)
-    (epg-context-set-armor context t)
+    (setf (epg-context-armor context) t)
     (epg-context-set-passphrase-callback
      context
      (cons #'auth-source-token-passphrase-callback-function