From: Glenn Morris Date: Thu, 14 Feb 2008 18:43:02 +0000 (+0000) Subject: (password-cache-add): Declare as function. X-Git-Tag: emacs-pretest-23.0.90~7945 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=48a731fe8e7671fe1d6d94c5232e3ad88213e70b;p=emacs.git (password-cache-add): Declare as function. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 68c2051c899..6c23b215530 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2008-02-14 Glenn Morris + + * mail/smtpmail.el (password-cache-add): Declare as function. + 2008-02-14 Justus Piater (tiny change) * mail/smtpmail.el: Use password-cache. 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)))