summaryrefslogtreecommitdiff
path: root/lisp/international
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>2006-12-13 07:04:32 +0000
committerKenichi Handa <handa@m17n.org>2006-12-13 07:04:32 +0000
commit218e7ce3da31b3ff03d06da2a733088ea3a2d6a6 (patch)
tree8ee5cf1d651fe818dc60317eb31af81f8cf07410 /lisp/international
parent16e62ecc3db9ed1f69f95e65e8d99754531bf28f (diff)
downloademacs-218e7ce3da31b3ff03d06da2a733088ea3a2d6a6.tar.gz
(set-locale-environment): Set
default-sendmail-coding-system too.
Diffstat (limited to 'lisp/international')
-rw-r--r--lisp/international/mule-cmds.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el
index 752691e7202..4b415baf5fa 100644
--- a/lisp/international/mule-cmds.el
+++ b/lisp/international/mule-cmds.el
@@ -2598,6 +2598,9 @@ See also `locale-charset-language-names', `locale-language-names',
(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,