diff options
| -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) |