aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Petton2015-10-11 22:58:35 +0200
committerNicolas Petton2015-10-11 22:58:35 +0200
commit644d31a2690ba512600a96a7db801d074b26f48d (patch)
tree93dfe6575bab52301157549afcb8857b9a0c24d7
parent831807fafeb782c43dcf4c1927a0a4f886e226e0 (diff)
downloademacs-644d31a2690ba512600a96a7db801d074b26f48d.tar.gz
emacs-644d31a2690ba512600a96a7db801d074b26f48d.zip
Replace the usage of an obsolete function in auth-source.el
* lisp/gnus/auth-source.el (auth-source-epa-make-gpg-token): Replace an usage of `epg-context-set-armor' with `setf'.
-rw-r--r--lisp/gnus/auth-source.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/gnus/auth-source.el b/lisp/gnus/auth-source.el
index 52ea368dfce..75e6d0499d0 100644
--- a/lisp/gnus/auth-source.el
+++ b/lisp/gnus/auth-source.el
@@ -1152,7 +1152,7 @@ FILE is the file from which we obtained this token."
1152 (let ((context (epg-make-context 'OpenPGP)) 1152 (let ((context (epg-make-context 'OpenPGP))
1153 (pp-escape-newlines nil) 1153 (pp-escape-newlines nil)
1154 cipher) 1154 cipher)
1155 (epg-context-set-armor context t) 1155 (setf (epg-context-armor context) t)
1156 (epg-context-set-passphrase-callback 1156 (epg-context-set-passphrase-callback
1157 context 1157 context
1158 (cons #'auth-source-token-passphrase-callback-function 1158 (cons #'auth-source-token-passphrase-callback-function