dot/emacs: Set up autoloads for mail-sending functions.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 11 May 2016 20:07:11 +0000 (21:07 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 11 May 2016 20:07:11 +0000 (21:07 +0100)
For some reason, Emacs doesn't set one up for `sendmail-send-it' by
default.  WTF?

dot/emacs

index 0181bd0..9bb23b2 100644 (file)
--- a/dot/emacs
+++ b/dot/emacs
       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)