1
Fork 0
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:
Lars Magne Ingebrigtsen 2011-08-21 22:10:29 +02:00
parent c65c96228e
commit e7f2c178da
2 changed files with 3 additions and 0 deletions

View file

@ -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>

View file

@ -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