emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 210a895 11/12: Avoid obsolete function in plstore


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] master 210a895 11/12: Avoid obsolete function in plstore
Date: Fri, 12 Feb 2016 06:15:19 +0000

branch: master
commit 210a895757fc89138a7ec21cbf7fc8cb14b3c0b8
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    Avoid obsolete function in plstore
    
    * lisp/gnus/plstore.el (plstore--insert-buffer): Use setf
    instead of the obsolete epg-context-set-armor.
---
 lisp/gnus/plstore.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lisp/gnus/plstore.el b/lisp/gnus/plstore.el
index 5685590..62c50c0 100644
--- a/lisp/gnus/plstore.el
+++ b/lisp/gnus/plstore.el
@@ -422,7 +422,7 @@ SECRET-KEYS is a plist containing secret data."
              ((listp plstore-encrypt-to) plstore-encrypt-to)
              ((stringp plstore-encrypt-to) (list plstore-encrypt-to))))
            cipher)
-       (epg-context-set-armor context t)
+       (setf (epg-context-armor context) t)
        (epg-context-set-passphrase-callback
         context
         (cons #'plstore-passphrase-callback-function



reply via email to

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