Remember password change for IMAP in Gnus (Bug#29692)
Reported by Trey Jackson <trey_jackson@mentor.com>. * lisp/gnus/mail-source.el (mail-source-fetch-imap): Check `mail-source-password-cache' for password.
This commit is contained in:
parent
a21dac18bb
commit
b178870528
1 changed files with 2 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue