(password-cache-add): Declare as function.
authorGlenn Morris <rgm@gnu.org>
Thu, 14 Feb 2008 18:43:02 +0000 (18:43 +0000)
committerGlenn Morris <rgm@gnu.org>
Thu, 14 Feb 2008 18:43:02 +0000 (18:43 +0000)
lisp/ChangeLog
lisp/mail/smtpmail.el

index 68c2051..6c23b21 100644 (file)
@@ -1,3 +1,7 @@
+2008-02-14  Glenn Morris  <rgm@gnu.org>
+
+       * mail/smtpmail.el (password-cache-add): Declare as function.
+
 2008-02-14  Justus Piater <Justus-bulk@Piater.name>  (tiny change)
 
        * mail/smtpmail.el: Use password-cache.
index 0afb8ce..abcf51b 100644 (file)
@@ -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)))