mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
(smtpmail-try-auth-methods): Expand the secret password.
This commit is contained in:
parent
c65c96228e
commit
e7f2c178da
2 changed files with 3 additions and 0 deletions
|
|
@ -3,6 +3,7 @@
|
|||
* mail/smtpmail.el (smtpmail-via-smtp): Only bind
|
||||
`coding-system-for-*' around the process open call to avoid
|
||||
auth-source side effects.
|
||||
(smtpmail-try-auth-methods): Expand the secret password.
|
||||
|
||||
2011-08-21 Chong Yidong <cyd@stupidchicken.com>
|
||||
|
||||
|
|
|
|||
|
|
@ -505,6 +505,8 @@ The list is in preference order.")
|
|||
(save-function (and ask-for-password
|
||||
(plist-get auth-info :save-function)))
|
||||
ret)
|
||||
(when (functionp password)
|
||||
(setq password (funcall password)))
|
||||
(when (and user
|
||||
(not password))
|
||||
;; The user has stored the user name, but not the password, so
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue