emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 644d31a 2/2: Replace the usage of an obsolete funct


From: Nicolas Petton
Subject: [Emacs-diffs] master 644d31a 2/2: Replace the usage of an obsolete function in auth-source.el
Date: Sun, 11 Oct 2015 21:03:07 +0000

branch: master
commit 644d31a2690ba512600a96a7db801d074b26f48d
Author: Nicolas Petton <address@hidden>
Commit: Nicolas Petton <address@hidden>

    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'.
---
 lisp/gnus/auth-source.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lisp/gnus/auth-source.el b/lisp/gnus/auth-source.el
index 52ea368..75e6d04 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."
   (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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]