Commit 2ecb7c5c authored by Robert Pluim's avatar Robert Pluim Committed by Lars Ingebrigtsen

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).
parent cd5b0538
Pipeline #1649 failed with stage
in 90 minutes and 1 second
......@@ -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)
......
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment