[gnus git] branch master updated: m0-13-80-g718e6c7 =1= * auth-source.el (auth-source-epa-make-gpg-token): Replace an usage of `epg-context-set-armor' with `setf'.

Katsumi Yamaoka <[email protected]> Tue, 13 Oct 2015 00:24:33 +0200
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  718e6c79c9c566c2450587fbe75ff75bd7d44719 (commit)
      from  56e9a957bb3eba24fb6311f88d90583de4511102 (commit)


- Log -----------------------------------------------------------------
commit 718e6c79c9c566c2450587fbe75ff75bd7d44719
Author: Nicolas Petton <[email protected]>
Date:   Mon Oct 12 22:23:54 2015 +0000

    * auth-source.el (auth-source-epa-make-gpg-token):
    Replace an usage of `epg-context-set-armor' with `setf'.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 8dbcb59..903f0e2 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,6 +1,8 @@
 2015-10-12  Nicolas Petton  <[email protected]>
 
-	* auth-source.el (auth-source-do-debug, auth-source-do-trivia)
+	* auth-source.el (auth-source-epa-make-gpg-token):
+	Replace an usage of `epg-context-set-armor' with `setf'.
+	(auth-source-do-debug, auth-source-do-trivia)
 	(auth-source-read-char-choice, auth-source-search)
 	(auth-source-pick-first-password, auth-source-netrc-parse)
 	(auth-source-netrc-search, auth-source-secrets-search)
diff --git a/lisp/auth-source.el b/lisp/auth-source.el
index 7dfe69d..aff39c7 100644
--- a/lisp/auth-source.el
+++ b/lisp/auth-source.el
@@ -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)
-    (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

-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.

Summary of changes:
 lisp/ChangeLog      |    4 +++-
 lisp/auth-source.el |    2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".

The branch, master has been updated


hooks/post-receive
-- 
Gnus Project