diff options
author | Kenichi Handa <handa@gnu.org> | 2012-10-11 20:29:47 +0900 |
---|---|---|
committer | Kenichi Handa <handa@gnu.org> | 2012-10-11 20:29:47 +0900 |
commit | d3e4228575e9ba9e99dc4a7dae788280ffcc4566 (patch) | |
tree | 97d35f3c0766372c166a31f3c0f7aba791a38dde /lisp/international | |
parent | cde44a7728488ca6bc6a46c18d9c5e647b160547 (diff) | |
parent | fd2f90cf5c6a15610aa1e17e73d6d8a5f8cb1999 (diff) | |
download | emacs-d3e4228575e9ba9e99dc4a7dae788280ffcc4566.tar.gz |
merge trunk
Diffstat (limited to 'lisp/international')
-rw-r--r-- | lisp/international/mule-cmds.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el index a32c69a691e..58dd24ec8ea 100644 --- a/lisp/international/mule-cmds.el +++ b/lisp/international/mule-cmds.el @@ -2670,7 +2670,8 @@ See also `locale-charset-language-names', `locale-language-names', ;; On Windows, override locale-coding-system, ;; default-file-name-coding-system, keyboard-coding-system, ;; terminal-coding-system with system codepage. - (when (boundp 'w32-ansi-code-page) + (when (and (eq system-type 'windows-nt) + (boundp 'w32-ansi-code-page)) (let ((code-page-coding (intern (format "cp%d" w32-ansi-code-page)))) (when (coding-system-p code-page-coding) (unless frame (setq locale-coding-system code-page-coding)) |