diff options
| author | Kenichi Handa | 2000-04-28 04:04:04 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2000-04-28 04:04:04 +0000 |
| commit | 030106ca73e8167d4d569f6d1615d58189bbffca (patch) | |
| tree | 0c86076587082d59fa4316c137fe0ae506715601 | |
| parent | 7b211df55137a1e48cd05c42f76c7221a837febf (diff) | |
| download | emacs-030106ca73e8167d4d569f6d1615d58189bbffca.tar.gz emacs-030106ca73e8167d4d569f6d1615d58189bbffca.zip | |
(sendmail-send-it): Set
buffer-file-coding-system to the selected coding system for MIME
header.
| -rw-r--r-- | lisp/mail/sendmail.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el index d5c0cb576ee..542a91e0d2c 100644 --- a/lisp/mail/sendmail.el +++ b/lisp/mail/sendmail.el | |||
| @@ -907,6 +907,12 @@ See also the function `select-message-coding-system'.") | |||
| 907 | (progn (skip-chars-forward "\0-\177") | 907 | (progn (skip-chars-forward "\0-\177") |
| 908 | (/= (point) (point-max))) | 908 | (/= (point) (point-max))) |
| 909 | (setq coding-system (select-message-coding-system)) | 909 | (setq coding-system (select-message-coding-system)) |
| 910 | ;; Set buffer-file-coding-system to the selected | ||
| 911 | ;; one. This prevent the later call of | ||
| 912 | ;; select-message-coding-system asking a user | ||
| 913 | ;; again. | ||
| 914 | (prog1 t | ||
| 915 | (set-buffer-file-coding-system coding-system)) | ||
| 910 | (setq charset | 916 | (setq charset |
| 911 | (coding-system-get coding-system 'mime-charset)) | 917 | (coding-system-get coding-system 'mime-charset)) |
| 912 | (goto-char delimline) | 918 | (goto-char delimline) |