[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-26 b178870: Remember password change for IMAP in Gnu
From: |
Teodor Zlatanov |
Subject: |
[Emacs-diffs] emacs-26 b178870: Remember password change for IMAP in Gnus (Bug#29692) |
Date: |
Fri, 15 Dec 2017 00:18:21 -0500 (EST) |
branch: emacs-26
commit b1788705284048382a3ef51783525b37e5443b1f
Author: Ted Zlatanov <address@hidden>
Commit: Ted Zlatanov <address@hidden>
Remember password change for IMAP in Gnus (Bug#29692)
Reported by Trey Jackson <address@hidden>.
* lisp/gnus/mail-source.el (mail-source-fetch-imap): Check
`mail-source-password-cache' for password.
---
lisp/gnus/mail-source.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lisp/gnus/mail-source.el b/lisp/gnus/mail-source.el
index 93f03be..ef34c49 100644
--- a/lisp/gnus/mail-source.el
+++ b/lisp/gnus/mail-source.el
@@ -1097,7 +1097,8 @@ This only works when `display-time' is enabled."
;; remember password
(with-current-buffer buf
(when (and imap-password
- (not (assoc from mail-source-password-cache)))
+ (not (member (cons from imap-password)
+ mail-source-password-cache)))
(push (cons from imap-password) mail-source-password-cache)))
;; if predicate is nil, use all uids
(dolist (uid (imap-search (or predicate "1:*") buf))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-26 b178870: Remember password change for IMAP in Gnus (Bug#29692),
Teodor Zlatanov <=