[gnus git] branch master updated: m0-5-217-gac49eb5 =1= plstore-passphrase-callback-function fixup
Lars Ingebrigtsen <[email protected]>
| Newsgroups | gmane.emacs.gnus.cvs |
|---|---|
| Message-ID | <[email protected]> |
via ac49eb59b510c3ca7dc8ca6fa1306bf0ffc3cdec (commit)
from 44d47c062e733634110616063cd9b21a6b151cd0 (commit)
- Log -----------------------------------------------------------------
commit ac49eb59b510c3ca7dc8ca6fa1306bf0ffc3cdec
Author: Leo Liu <[email protected]>
Date: Tue Dec 25 22:50:48 2012 +0100
plstore-passphrase-callback-function fixup
* plstore.el (plstore-passphrase-callback-function): Fix error when
error when plstore-cache-passphrase-for-symmetric-encryption is set
(bug#13264).
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index a9127c8..4bef403 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
+2012-12-25 Leo Liu <[email protected]>
+
+ * plstore.el (plstore-passphrase-callback-function): Fix error when
+ error when plstore-cache-passphrase-for-symmetric-encryption is set
+ (bug#13264).
+
2012-12-25 Lars Ingebrigtsen <[email protected]>
* gnus-sum.el (gnus-set-global-variables): Don't copy over the summary
diff --git a/lisp/plstore.el b/lisp/plstore.el
index 6d5424e..f130bfc 100644
--- a/lisp/plstore.el
+++ b/lisp/plstore.el
@@ -126,7 +126,8 @@ 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 (plstore--get-buffer plstore)))
+ (let* ((file (file-truename (buffer-file-name
+ (plstore--get-buffer 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 | 6 ++++++
lisp/plstore.el | 3 ++-
2 files changed, 8 insertions(+), 1 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