]> git.eshelyaron.com Git - emacs.git/commitdiff
message.el trivia.
authorGlenn Morris <rgm@gnu.org>
Fri, 13 May 2011 02:10:17 +0000 (19:10 -0700)
committerGlenn Morris <rgm@gnu.org>
Fri, 13 May 2011 02:10:17 +0000 (19:10 -0700)
* lisp/gnu/message.el (message-send-mail-with-sendmail): Assume
sendmail-program is bound, since this function requires sendmail.

lisp/gnus/ChangeLog
lisp/gnus/message.el

index 44abbea8e946f9737e65ba5f8d21fa74ee9abe46..ceea1e0375fb7dafd63abafd75b2118e98c7388f 100644 (file)
@@ -1,3 +1,8 @@
+2011-05-13  Glenn Morris  <rgm@gnu.org>
+
+       * message.el (message-send-mail-with-sendmail): Assume sendmail-program
+       is bound, since this function requires sendmail.
+
 2011-05-11  Teodor Zlatanov  <tzz@lifelogs.com>
 
        * registry.el (registry-usage-test): Disable pruning test.
index 0971aed0e025affeaf01fac9595904ba489ee70b..0ba877ec648525a3c0255f33942cf8c9ded3ebea 100644 (file)
@@ -4656,16 +4656,7 @@ If you always want Gnus to send messages in one piece, set
                 (cpr (apply
                       'call-process-region
                       (append
-                       (list (point-min) (point-max)
-                             (cond ((boundp 'sendmail-program)
-                                    sendmail-program)
-                                   ((file-exists-p "/usr/sbin/sendmail")
-                                    "/usr/sbin/sendmail")
-                                   ((file-exists-p "/usr/lib/sendmail")
-                                    "/usr/lib/sendmail")
-                                   ((file-exists-p "/usr/ucblib/sendmail")
-                                    "/usr/ucblib/sendmail")
-                                   (t "fakemail"))
+                       (list (point-min) (point-max) sendmail-program
                              nil errbuf nil "-oi")
                        message-sendmail-extra-arguments
                        ;; Always specify who from,