diff options
| author | Richard M. Stallman | 2005-10-16 17:52:04 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2005-10-16 17:52:04 +0000 |
| commit | 255d8b22d9ba941fe9a419c41a262e2de05ef3e5 (patch) | |
| tree | fee5bcb57173c6f89a3b3d91e835b51e77aa0db0 | |
| parent | 74725d463cd0d51e0673daa4ca582bfc50598d14 (diff) | |
| download | emacs-255d8b22d9ba941fe9a419c41a262e2de05ef3e5.tar.gz emacs-255d8b22d9ba941fe9a419c41a262e2de05ef3e5.zip | |
(send-mail-function): Use mailclient-send-it
as default on darwin and windows systems.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/mail/sendmail.el | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 43320f3d00e..1bdbfd1a077 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2005-10-16 David Reitter <david.reitter@gmail.com> | ||
| 2 | |||
| 3 | * mail/sendmail.el (send-mail-function): Use mailclient-send-it | ||
| 4 | as default on darwin and windows systems. | ||
| 5 | |||
| 1 | 2005-10-16 Sven Joachim <svenjoac@gmx.de> (tiny change) | 6 | 2005-10-16 Sven Joachim <svenjoac@gmx.de> (tiny change) |
| 2 | 7 | ||
| 3 | * arc-mode.el (archive-zip-extract): Doc fix. | 8 | * arc-mode.el (archive-zip-extract): Doc fix. |
diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el index f7c62026d80..81afe688c10 100644 --- a/lisp/mail/sendmail.el +++ b/lisp/mail/sendmail.el | |||
| @@ -120,7 +120,10 @@ nil means let mailer mail back a message to report errors." | |||
| 120 | 120 | ||
| 121 | ;; Useful to set in site-init.el | 121 | ;; Useful to set in site-init.el |
| 122 | ;;;###autoload | 122 | ;;;###autoload |
| 123 | (defcustom send-mail-function 'sendmail-send-it | 123 | (defcustom send-mail-function |
| 124 | (if (and window-system (memq system-type '(darwin windows-nt))) | ||
| 125 | 'mailclient-send-it | ||
| 126 | 'sendmail-send-it) | ||
| 124 | "Function to call to send the current buffer as mail. | 127 | "Function to call to send the current buffer as mail. |
| 125 | The headers should be delimited by a line which is | 128 | The headers should be delimited by a line which is |
| 126 | not a valid RFC822 header or continuation line, | 129 | not a valid RFC822 header or continuation line, |