1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-26 07:33:47 +00:00

(gnus-mule-message-send-mail-function): Find a

coding system to encode the message by
select-message-coding-system.
This commit is contained in:
Kenichi Handa 1999-04-08 02:34:12 +00:00
parent e5a3d64826
commit 1ce2a3422d

View File

@ -177,8 +177,10 @@ coding-system for reading and writing respectively."
;; Encode a mail message before sending it.
(defun gnus-mule-message-send-mail-function ()
(if sendmail-coding-system
(encode-coding-region (point-min) (point-max) sendmail-coding-system)))
(let ((coding (if enable-multibyte-characters
(select-message-coding-system))))
(if coding
(encode-coding-region (point-min) (point-max) coding))))
;;;###autoload
(defun gnus-mule-initialize ()