summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2010-02-25 20:40:03 -0800
committerGlenn Morris <rgm@gnu.org>2010-02-25 20:40:03 -0800
commitcdbf910017670adc503318b8b9407ef85a7ad2ba (patch)
treed80b6a14232c0108e6e208c2bf26811c2ec82911
parent183c7ef9598cf7294447e3741d7fc095b1dd1b10 (diff)
downloademacs-cdbf910017670adc503318b8b9407ef85a7ad2ba.tar.gz
Fix initialization of send-mail-function option.
* mail/sendmail.el (send-mail-function): Autoload the call to custom-initialize-delay, not otherwise preserved in loaddefs.el. (Needed since 2009-09-13 change to startup.el.) See http://lists.gnu.org/archive/html/emacs-devel/2010-02/msg00533.html
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/mail/sendmail.el2
2 files changed, 7 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 59bd441f0d8..d91d95e5313 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2010-02-26 Glenn Morris <rgm@gnu.org>
+
+ * mail/sendmail.el (send-mail-function): Autoload the call
+ to custom-initialize-delay, not otherwise preserved in loaddefs.el.
+
2010-02-25 Alan Mackenzie <acm@muc.de>
* progmodes/cc-engine.el (c-clear-<-pair-props)
diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el
index da8fe85da82..4cf6cb812bd 100644
--- a/lisp/mail/sendmail.el
+++ b/lisp/mail/sendmail.el
@@ -170,6 +170,8 @@ This is used by the default mail-sending commands. See also
:initialize 'custom-initialize-delay
:group 'sendmail)
+;;;###autoload(custom-initialize-delay 'send-mail-function nil)
+
;;;###autoload
(defcustom mail-header-separator (purecopy "--text follows this line--")
"Line used to separate headers from text in messages being composed."