diff options
| author | Kenichi Handa | 1999-04-08 02:34:12 +0000 |
|---|---|---|
| committer | Kenichi Handa | 1999-04-08 02:34:12 +0000 |
| commit | 1ce2a3422d1964150af24893b977fea6f415ccd0 (patch) | |
| tree | 78d82f32331218bdfddbc7b260dde10916acebea | |
| parent | e5a3d64826b2c97bba560620c02ee553a3b7a5d6 (diff) | |
| download | emacs-1ce2a3422d1964150af24893b977fea6f415ccd0.tar.gz emacs-1ce2a3422d1964150af24893b977fea6f415ccd0.zip | |
(gnus-mule-message-send-mail-function): Find a
coding system to encode the message by
select-message-coding-system.
| -rw-r--r-- | lisp/gnus/gnus-mule.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/gnus/gnus-mule.el b/lisp/gnus/gnus-mule.el index 4d22cecc169..371b3dc8b17 100644 --- a/lisp/gnus/gnus-mule.el +++ b/lisp/gnus/gnus-mule.el | |||
| @@ -177,8 +177,10 @@ coding-system for reading and writing respectively." | |||
| 177 | 177 | ||
| 178 | ;; Encode a mail message before sending it. | 178 | ;; Encode a mail message before sending it. |
| 179 | (defun gnus-mule-message-send-mail-function () | 179 | (defun gnus-mule-message-send-mail-function () |
| 180 | (if sendmail-coding-system | 180 | (let ((coding (if enable-multibyte-characters |
| 181 | (encode-coding-region (point-min) (point-max) sendmail-coding-system))) | 181 | (select-message-coding-system)))) |
| 182 | (if coding | ||
| 183 | (encode-coding-region (point-min) (point-max) coding)))) | ||
| 182 | 184 | ||
| 183 | ;;;###autoload | 185 | ;;;###autoload |
| 184 | (defun gnus-mule-initialize () | 186 | (defun gnus-mule-initialize () |