Improve sendmail-program doc string

* lisp/mail/sendmail.el (sendmail-program): Document that the
program shouldn't output text (bug#56855).
This commit is contained in:
Lars Ingebrigtsen 2022-08-02 12:44:06 +02:00
parent 8783700b23
commit 8af91dee9a

View file

@ -49,7 +49,9 @@
((file-exists-p "/usr/lib/sendmail") "/usr/lib/sendmail")
((file-exists-p "/usr/ucblib/sendmail") "/usr/ucblib/sendmail")
(t "sendmail")))
"Program used to send messages."
"Program used to send messages.
If the program returns a non-zero error code, or outputs any
text, sending is considered \"failed\" by Emacs."
:version "24.1" ; add executable-find, remove fakemail
:type 'file)