Commit 030106ca authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(sendmail-send-it): Set

buffer-file-coding-system to the selected coding system for MIME
header.
parent 7b211df5
...@@ -907,6 +907,12 @@ See also the function `select-message-coding-system'.") ...@@ -907,6 +907,12 @@ See also the function `select-message-coding-system'.")
(progn (skip-chars-forward "\0-\177") (progn (skip-chars-forward "\0-\177")
(/= (point) (point-max))) (/= (point) (point-max)))
(setq coding-system (select-message-coding-system)) (setq coding-system (select-message-coding-system))
;; Set buffer-file-coding-system to the selected
;; one. This prevent the later call of
;; select-message-coding-system asking a user
;; again.
(prog1 t
(set-buffer-file-coding-system coding-system))
(setq charset (setq charset
(coding-system-get coding-system 'mime-charset)) (coding-system-get coding-system 'mime-charset))
(goto-char delimline) (goto-char delimline)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment