]> git.eshelyaron.com Git - emacs.git/commitdiff
Improve sendmail-program doc string
authorLars Ingebrigtsen <larsi@gnus.org>
Tue, 2 Aug 2022 10:44:06 +0000 (12:44 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 2 Aug 2022 17:14:43 +0000 (19:14 +0200)
* lisp/mail/sendmail.el (sendmail-program): Document that the
program shouldn't output text (bug#56855).

lisp/mail/sendmail.el

index f985b2ceac45ea04a8f5206e1a351f7b5cd2cbf3..189ad075c4770dd1f7ef82765a0cdc901c560bda 100644 (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)