[gnus git] branch master updated: m0-5-231-g9c6c035 =1= plstore.el (plstore-passphrase-callback-function): Use plstore-get-file

Katsumi Yamaoka <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  9c6c035c84adc1eb0f544d61e736b01d69364930 (commit)
      from  ea60ea3c05a8391dcdc00251d1744e1558d7f7d4 (commit)


- Log -----------------------------------------------------------------
commit 9c6c035c84adc1eb0f544d61e736b01d69364930
Author: Glenn Morris <[email protected]>
Date:   Thu Dec 27 14:45:08 2012 +0000

    plstore.el (plstore-passphrase-callback-function): Use plstore-get-file

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index deda362..b9c6633 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2012-12-27  Glenn Morris  <[email protected]>
+
+	* plstore.el (plstore-passphrase-callback-function):
+	Use plstore-get-file.
+
 2012-12-27  Andreas Schwab  <[email protected]>
 
 	* mml2015.el (mml2015-epg-key-image): separate attribute stream from
diff --git a/lisp/plstore.el b/lisp/plstore.el
index f130bfc..b428cab 100644
--- a/lisp/plstore.el
+++ b/lisp/plstore.el
@@ -126,8 +126,7 @@ symmetric encryption will be used.")
 
 (defun plstore-passphrase-callback-function (_context _key-id plstore)
   (if plstore-cache-passphrase-for-symmetric-encryption
-      (let* ((file (file-truename (buffer-file-name
-				   (plstore--get-buffer plstore))))
+      (let* ((file (file-truename (plstore-get-file plstore)))
 	     (entry (assoc file plstore-passphrase-alist))
 	     passphrase)
 	(or (copy-sequence (cdr entry))

-----------------------------------------------------------------------
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  |    5 +++++
 lisp/plstore.el |    3 +--
 2 files changed, 6 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.