From f186bb958a58b82ba40888914a1b1328225af284 Mon Sep 17 00:00:00 2001 From: Lars Magne Ingebrigtsen Date: Sat, 7 Jan 2012 06:34:30 +0100 Subject: [PATCH] Remove some unused password-related autoloads * mail/smtpmail.el (password-cache-add): Removed unused declaration. (password-read): Don't autoload unused function. --- lisp/ChangeLog | 5 +++++ lisp/mail/smtpmail.el | 4 ---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 704efea7135..d3f92175dd8 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2012-01-07 Lars Magne Ingebrigtsen + + * mail/smtpmail.el (password-cache-add): Removed unused declaration. + (password-read): Don't autoload unused function. + 2012-01-07 Juanma Barranquero * progmodes/which-func.el (which-func-mode): Turn into a diff --git a/lisp/mail/smtpmail.el b/lisp/mail/smtpmail.el index d498f259269..e3051fd0c9f 100644 --- a/lisp/mail/smtpmail.el +++ b/lisp/mail/smtpmail.el @@ -60,7 +60,6 @@ (autoload 'message-make-date "message") (autoload 'message-make-message-id "message") (autoload 'rfc2104-hash "rfc2104") -(autoload 'password-read "password-cache") ;;; (defgroup smtpmail nil @@ -470,9 +469,6 @@ The list is in preference order.") (push el2 result))) (nreverse result))) -;; `password-read' autoloads password-cache. -(declare-function password-cache-add "password-cache" (key password)) - (defun smtpmail-command-or-throw (process string &optional code) (let (ret) (smtpmail-send-command process string) -- 2.39.2