Document 'message-send-mail-function' in the Emacs manual

Most of the manual here addresses Message mode, yet talks about
'send-mail-function' which is used for Mail mode.
Fixing this completely requires more involved work, but for now at
least document the difference here.

* doc/emacs/sending.texi (Mail Sending): Mention
'message-send-mail-function'.  (Bug#39639)
This commit is contained in:
Allen Li 2020-02-16 23:55:43 -08:00 committed by Eli Zaretskii
parent ac0546612d
commit b410f902d5

View file

@ -361,9 +361,12 @@ twice).
@cindex Feedmail
@cindex Sendmail
@cindex Mailclient
@vindex message-send-mail-function
@vindex send-mail-function
The variable @code{send-mail-function} controls how the message is
delivered. Its value should be one of the following functions:
The variable @code{message-send-mail-function} controls how the
message is delivered (@code{send-mail-function} is used for Mail mode).
The value of @code{send-mail-function} should be one of the following
functions:
@table @code
@item sendmail-query-once