diff options
| author | Eli Zaretskii | 2021-01-22 09:57:19 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2021-01-22 09:57:19 +0200 |
| commit | ee1c54ebc01bc377dce99af891730c1a53cc3f86 (patch) | |
| tree | 394619231830316a401662631b4069bb8fba69ea | |
| parent | 82c228a017cfbb69ac5a91fba51419eb3b1f7032 (diff) | |
| download | emacs-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.el | 16 |
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. |
| 106 | This is done when the message is initialized, | 106 | This is done when the message is initialized, |
| 107 | so you can remove or alter the Bcc field to override the default." | 107 | so you can remove or alter the Bcc field to override the default. |
| 108 | If you are using `message-mode' to compose messages, customize the | ||
| 109 | variable `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. |
| 174 | This is normally an mbox file, but for backwards compatibility may also | 176 | This is normally an mbox file, but for backwards compatibility may also |
| 175 | be a Babyl file." | 177 | be a Babyl file. |
| 178 | If you are using `message-mode' to compose messages, customize the | ||
| 179 | variable `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. |
| 181 | If nil, it will be initialized from the REPLYTO environment variable | 185 | If nil, it will be initialized from the REPLYTO environment variable |
| 182 | when you first send mail." | 186 | when you first send mail. |
| 187 | If you are using `message-mode' to compose messages, customize the | ||
| 188 | variable `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. |
| 390 | It can contain newlines, and should end in one. It is inserted | 396 | It can contain newlines, and should end in one. It is inserted |
| 391 | before you edit the message, so you can edit or delete the lines." | 397 | before you edit the message, so you can edit or delete the lines. |
| 398 | If you are using `message-mode' to compose messages, customize the | ||
| 399 | variable `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 |