From: Mark Wooding Date: Wed, 11 May 2016 20:07:11 +0000 (+0100) Subject: dot/emacs: Set up autoloads for mail-sending functions. X-Git-Url: https://git.distorted.org.uk/~mdw/profile/commitdiff_plain/575fa442730280b2897d58b19fea9fdd64501600 dot/emacs: Set up autoloads for mail-sending functions. For some reason, Emacs doesn't set one up for `sendmail-send-it' by default. WTF? --- diff --git a/dot/emacs b/dot/emacs index 0181bd0..9bb23b2 100644 --- a/dot/emacs +++ b/dot/emacs @@ -172,6 +172,8 @@ send-mail-function 'sendmail-send-it mail-interactive t sendmail-error-reporting-interactive '("-odb" "-oee")) +(autoload 'sendmail-send-it "sendmail") +(autoload 'smtpmail-send-it "smtpmail") (setq mail-user-agent 'message-user-agent read-mail-command 'gnus)