From 575fa442730280b2897d58b19fea9fdd64501600 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Wed, 11 May 2016 21:07:11 +0100 Subject: [PATCH] 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? --- dot/emacs | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.11.0