auth-source.el (auth-source-epa-make-gpg-token): Revert
authorKatsumi Yamaoka <yamaoka@jpl.org>
Wed, 14 Oct 2015 00:59:28 +0000 (00:59 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Wed, 14 Oct 2015 00:59:28 +0000 (00:59 +0000)
lisp/ChangeLog
lisp/auth-source.el

index b54aec1..9ea368d 100644 (file)
@@ -1,3 +1,7 @@
+2015-10-14  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * auth-source.el (auth-source-epa-make-gpg-token): Revert.
+
 2015-10-11  Nicolas Petton  <petton.nicolas@gmail.com>
 
        * auth-source.el (auth-source-epa-make-gpg-token):
index aff39c7..7dfe69d 100644 (file)
@@ -1162,7 +1162,7 @@ FILE is the file from which we obtained this token."
   (let ((context (epg-make-context 'OpenPGP))
         (pp-escape-newlines nil)
         cipher)
-    (setf (epg-context-armor context) t)
+    (epg-context-set-armor context t)
     (epg-context-set-passphrase-callback
      context
      (cons #'auth-source-token-passphrase-callback-function