mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-18 02:47:36 +00:00
(sendmail-send-it): Set
buffer-file-coding-system to the selected coding system for MIME header.
This commit is contained in:
parent
7b211df551
commit
030106ca73
1 changed files with 6 additions and 0 deletions
|
|
@ -907,6 +907,12 @@ See also the function `select-message-coding-system'.")
|
|||
(progn (skip-chars-forward "\0-\177")
|
||||
(/= (point) (point-max)))
|
||||
(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
|
||||
(coding-system-get coding-system 'mime-charset))
|
||||
(goto-char delimline)
|
||||
|
|
|
|||
Loading…
Reference in a new issue