changeset 91844:ee383bc4d019

(password-cache-add): Declare as function.
author Glenn Morris <rgm@gnu.org>
date Thu, 14 Feb 2008 18:42:55 +0000
parents 499730b7bd8e
children 9aee77acf144
files lisp/mail/smtpmail.el
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/smtpmail.el	Thu Feb 14 14:59:32 2008 +0000
+++ b/lisp/mail/smtpmail.el	Thu Feb 14 18:42:55 2008 +0000
@@ -533,6 +533,9 @@
 		 (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)))