summaryrefslogtreecommitdiff
path: root/lisp/mail
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2008-02-14 18:43:02 +0000
committerGlenn Morris <rgm@gnu.org>2008-02-14 18:43:02 +0000
commit48a731fe8e7671fe1d6d94c5232e3ad88213e70b (patch)
tree6bd2a7954ba16c254d21c0443907fefb1419b74a /lisp/mail
parentb1cd57bc9af9a15fba8f476fb6e7ece8005a948d (diff)
downloademacs-48a731fe8e7671fe1d6d94c5232e3ad88213e70b.tar.gz
(password-cache-add): Declare as function.
Diffstat (limited to 'lisp/mail')
-rw-r--r--lisp/mail/smtpmail.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/mail/smtpmail.el b/lisp/mail/smtpmail.el
index 0afb8ce8630..abcf51b44ed 100644
--- a/lisp/mail/smtpmail.el
+++ b/lisp/mail/smtpmail.el
@@ -533,6 +533,9 @@ This is relative to `smtpmail-queue-dir'.")
(list "--x509keyfile" cred-key "--x509certfile" cred-cert)))))
(starttls-open-stream "SMTP" process-buffer host port)))))
+;; password-read autoloads password-cache.
+(declare-function password-cache-add "password-cache" (key password))
+
(defun smtpmail-try-auth-methods (process supported-extensions host port)
(let* ((mechs (cdr-safe (assoc 'auth supported-extensions)))
(mech (car (smtpmail-intersection smtpmail-auth-supported mechs)))