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 44abbea..ceea1e0 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 0971aed..0ba877e 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,