diff options
| author | Reiner Steib | 2007-11-21 07:45:36 +0000 |
|---|---|---|
| committer | Reiner Steib | 2007-11-21 07:45:36 +0000 |
| commit | b62a39c41d4b2a0f04207449edfb647118ce0568 (patch) | |
| tree | 91af4e8333285aa38555a3d9ef8b422b6c03b2e9 | |
| parent | d4aa48db8ed36b1fc7e7b0e6bd35049353f7f96e (diff) | |
| download | emacs-b62a39c41d4b2a0f04207449edfb647118ce0568.tar.gz emacs-b62a39c41d4b2a0f04207449edfb647118ce0568.zip | |
(message-send-mail-function): Require sendmail.
| -rw-r--r-- | lisp/gnus/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/gnus/message.el | 4 |
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 8bd32cfc667..26e551d1ad7 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2007-11-21 Reiner Steib <Reiner.Steib@gmx.de> | ||
| 2 | |||
| 3 | * message.el (message-send-mail-function): Require sendmail. | ||
| 4 | |||
| 1 | 2007-11-20 Reiner Steib <Reiner.Steib@gmx.de> | 5 | 2007-11-20 Reiner Steib <Reiner.Steib@gmx.de> |
| 2 | 6 | ||
| 3 | * message.el (message-send-mail-function): Check for smtpmail too. | 7 | * message.el (message-send-mail-function): Check for smtpmail too. |
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el index 157c6f08b19..ef49e29d2cb 100644 --- a/lisp/gnus/message.el +++ b/lisp/gnus/message.el | |||
| @@ -625,7 +625,9 @@ Done before generating the new subject of a forward." | |||
| 625 | 625 | ||
| 626 | (defun message-send-mail-function () | 626 | (defun message-send-mail-function () |
| 627 | "Return suitable value for the variable `message-send-mail-function'." | 627 | "Return suitable value for the variable `message-send-mail-function'." |
| 628 | (cond ((and sendmail-program | 628 | (cond ((and (require 'sendmail) |
| 629 | (boundp 'sendmail-program) | ||
| 630 | sendmail-program | ||
| 629 | (executable-find sendmail-program)) | 631 | (executable-find sendmail-program)) |
| 630 | 'message-send-mail-with-sendmail) | 632 | 'message-send-mail-with-sendmail) |
| 631 | ((and (locate-library "smtpmail") | 633 | ((and (locate-library "smtpmail") |