Document nil value of message-signature and mail-signature

* lisp/gnus/message.el (message-signature): Allow nil as a
customizable value, and describe its effect.
* lisp/mail/sendmail.el (mail-signature): Describe effect of nil
value (bug#32680).
This commit is contained in:
Robert Pluim 2019-05-13 16:45:16 -04:00 committed by Lars Ingebrigtsen
parent cd5b0538c5
commit 2ecb7c5c0b
2 changed files with 7 additions and 4 deletions

View file

@ -1078,13 +1078,15 @@ point and mark around the citation text as modified."
(defcustom message-signature mail-signature
"String to be inserted at the end of the message buffer.
If t, the `message-signature-file' file will be inserted instead.
If a function, the result from the function will be used instead.
If a form, the result from the form will be used instead."
If nil, don't insert a signature.
If t, insert `message-signature-file'.
If a function or form, insert its result.
See `mail-signature' for the recommended format of a signature."
:version "23.2"
:type '(choice string (const :tag "Contents of signature file" t)
function
sexp)
sexp
(const :tag "None" nil))
:risky t
:link '(custom-manual "(message)Insertion Variables")
:group 'message-insertion)

View file

@ -370,6 +370,7 @@ By default, this is the file specified by `mail-personal-alias-file'." t)
;;;###autoload
(defcustom mail-signature t
"Text inserted at end of mail buffer when a message is initialized.
If nil, no signature is inserted.
If t, it means to insert the contents of the file `mail-signature-file'.
If a string, that string is inserted.
(To make a proper signature, the string should begin with \\n\\n-- \\n,