summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen <larsi@gnus.org>2011-07-06 17:45:00 +0200
committerLars Magne Ingebrigtsen <larsi@gnus.org>2011-07-06 17:45:00 +0200
commit9e87df06a36582aba40079304f1ca63cce5d90b6 (patch)
tree86c7eacf3e0edacbc4a91212353e7e9addeb1667
parentf0691d22b1ca04107154afb6ebccc58dbcf40295 (diff)
downloademacs-9e87df06a36582aba40079304f1ca63cce5d90b6.tar.gz
(sendmail-query-once): Add an autoload cookie.
-rw-r--r--lisp/ChangeLog1
-rw-r--r--lisp/mail/sendmail.el1
2 files changed, 2 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 030f86192f9..28309f913ca 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -2,6 +2,7 @@
* mail/sendmail.el (send-mail-function): Change the default to
`sendmail-query-once'.
+ (sendmail-query-once): Add an autoload cookie.
* net/network-stream.el (network-stream-open-starttls): Try using
a plain connection even if the server offered STARTTLS, and we
diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el
index 47a6d0af0c5..6480d6a393f 100644
--- a/lisp/mail/sendmail.el
+++ b/lisp/mail/sendmail.el
@@ -168,6 +168,7 @@ This is used by the default mail-sending commands. See also
(defvar sendmail-query-once-function 'query
"Either a function to send email, or the symbol `query'.")
+;;;###autoload
(defun sendmail-query-once ()
"Send an email via `sendmail-query-once-function'.
If `sendmail-query-once-function' is `query', ask the user what