aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen2011-07-06 17:45:00 +0200
committerLars Magne Ingebrigtsen2011-07-06 17:45:00 +0200
commit9e87df06a36582aba40079304f1ca63cce5d90b6 (patch)
tree86c7eacf3e0edacbc4a91212353e7e9addeb1667
parentf0691d22b1ca04107154afb6ebccc58dbcf40295 (diff)
downloademacs-9e87df06a36582aba40079304f1ca63cce5d90b6.tar.gz
emacs-9e87df06a36582aba40079304f1ca63cce5d90b6.zip
(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 @@
2 2
3 * mail/sendmail.el (send-mail-function): Change the default to 3 * mail/sendmail.el (send-mail-function): Change the default to
4 `sendmail-query-once'. 4 `sendmail-query-once'.
5 (sendmail-query-once): Add an autoload cookie.
5 6
6 * net/network-stream.el (network-stream-open-starttls): Try using 7 * net/network-stream.el (network-stream-open-starttls): Try using
7 a plain connection even if the server offered STARTTLS, and we 8 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
168(defvar sendmail-query-once-function 'query 168(defvar sendmail-query-once-function 'query
169 "Either a function to send email, or the symbol `query'.") 169 "Either a function to send email, or the symbol `query'.")
170 170
171;;;###autoload
171(defun sendmail-query-once () 172(defun sendmail-query-once ()
172 "Send an email via `sendmail-query-once-function'. 173 "Send an email via `sendmail-query-once-function'.
173If `sendmail-query-once-function' is `query', ask the user what 174If `sendmail-query-once-function' is `query', ask the user what