changeset 74607:2408d46ef69e

(set-locale-environment): Set default-sendmail-coding-system too.
author Kenichi Handa <handa@m17n.org>
date Wed, 13 Dec 2006 07:04:19 +0000
parents e6b28ccae7d8
children 6cddd2686764
files lisp/international/mule-cmds.el
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/international/mule-cmds.el	Wed Dec 13 02:36:31 2006 +0000
+++ b/lisp/international/mule-cmds.el	Wed Dec 13 07:04:19 2006 +0000
@@ -2598,6 +2598,9 @@
 		   (not (coding-system-equal coding-system
 					     locale-coding-system)))
 	  (prefer-coding-system coding-system)
+	  ;; Fixme: perhaps prefer-coding-system should set this too.
+	  ;; But it's not the time to do such a fundamental change.
+	  (setq default-sendmail-coding-system coding-system)
 	  (setq locale-coding-system coding-system))))
 
     ;; On Windows, override locale-coding-system,