mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-28 07:45:00 +00:00
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
@ -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…
Reference in New Issue
Block a user