aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2021-01-22 09:57:19 +0200
committerEli Zaretskii2021-01-22 09:57:19 +0200
commitee1c54ebc01bc377dce99af891730c1a53cc3f86 (patch)
tree394619231830316a401662631b4069bb8fba69ea
parent82c228a017cfbb69ac5a91fba51419eb3b1f7032 (diff)
downloademacs-ee1c54ebc01bc377dce99af891730c1a53cc3f86.tar.gz
emacs-ee1c54ebc01bc377dce99af891730c1a53cc3f86.zip
Improve documentation of sendmail.el defcustom's
* lisp/mail/sendmail.el (mail-archive-file-name) (mail-default-reply-to, mail-self-blind, mail-default-headers): Say in the doc string that 'message-default-mail-headers' shall be customized when using 'message-mode' for email composition. (Bug#46029)
-rw-r--r--lisp/mail/sendmail.el16
1 files changed, 12 insertions, 4 deletions
diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el
index ad1a02734c8..15f7f224028 100644
--- a/lisp/mail/sendmail.el
+++ b/lisp/mail/sendmail.el
@@ -104,7 +104,9 @@ being sent is used), or nil (in which case the value of
104(defcustom mail-self-blind nil 104(defcustom mail-self-blind nil
105 "Non-nil means insert Bcc to self in messages to be sent. 105 "Non-nil means insert Bcc to self in messages to be sent.
106This is done when the message is initialized, 106This is done when the message is initialized,
107so you can remove or alter the Bcc field to override the default." 107so you can remove or alter the Bcc field to override the default.
108If you are using `message-mode' to compose messages, customize the
109variable `message-default-mail-headers' instead."
108 :type 'boolean) 110 :type 'boolean)
109 111
110;;;###autoload 112;;;###autoload
@@ -172,14 +174,18 @@ This is used by the default mail-sending commands. See also
172(defcustom mail-archive-file-name nil 174(defcustom mail-archive-file-name nil
173 "Name of file to write all outgoing messages in, or nil for none. 175 "Name of file to write all outgoing messages in, or nil for none.
174This is normally an mbox file, but for backwards compatibility may also 176This is normally an mbox file, but for backwards compatibility may also
175be a Babyl file." 177be a Babyl file.
178If you are using `message-mode' to compose messages, customize the
179variable `message-default-mail-headers' instead."
176 :type '(choice file (const nil))) 180 :type '(choice file (const nil)))
177 181
178;;;###autoload 182;;;###autoload
179(defcustom mail-default-reply-to nil 183(defcustom mail-default-reply-to nil
180 "Address to insert as default Reply-To field of outgoing messages. 184 "Address to insert as default Reply-To field of outgoing messages.
181If nil, it will be initialized from the REPLYTO environment variable 185If nil, it will be initialized from the REPLYTO environment variable
182when you first send mail." 186when you first send mail.
187If you are using `message-mode' to compose messages, customize the
188variable `message-default-mail-headers' instead."
183 :type '(choice (const nil) string)) 189 :type '(choice (const nil) string))
184 190
185(defcustom mail-alias-file nil 191(defcustom mail-alias-file nil
@@ -388,7 +394,9 @@ in `message-auto-save-directory'."
388(defcustom mail-default-headers nil 394(defcustom mail-default-headers nil
389 "A string containing header lines, to be inserted in outgoing messages. 395 "A string containing header lines, to be inserted in outgoing messages.
390It can contain newlines, and should end in one. It is inserted 396It can contain newlines, and should end in one. It is inserted
391before you edit the message, so you can edit or delete the lines." 397before you edit the message, so you can edit or delete the lines.
398If you are using `message-mode' to compose messages, customize the
399variable `message-default-mail-headers' instead."
392 :type '(choice (const nil) string)) 400 :type '(choice (const nil) string))
393 401
394(defcustom mail-bury-selects-summary t 402(defcustom mail-bury-selects-summary t