changeset 50334:04c0558bea4f

If system-type is not for Windows, prefer japanese-iso-8bit.
author Kenichi Handa <handa@m17n.org>
date Sat, 29 Mar 2003 02:34:52 +0000
parents 60da21fd968b
children 0d468249dd37
files lisp/language/japan-util.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/language/japan-util.el	Fri Mar 28 20:33:01 2003 +0000
+++ b/lisp/language/japan-util.el	Sat Mar 29 02:34:52 2003 +0000
@@ -31,9 +31,9 @@
 (defun setup-japanese-environment-internal ()
   ;; By default, we use 'japanese-iso-8bit for file names.  But, the
   ;; following prefer-coding-system will override it.
-  (setq default-file-name-coding-system 'japanese-iso-8bit)
   (if (memq system-type '(windows-nt ms-dos cygwin))
-      (prefer-coding-system 'japanese-shift-jis)))
+      (prefer-coding-system 'japanese-shift-jis)
+    (prefer-coding-system 'japanese-iso-8bit)))
 
 (defconst japanese-kana-table
   '((?$B$"(B ?$B%"(B ?(I1(B) (?$B$$(B ?$B%$(B ?(I2(B) (?$B$&(B ?$B%&(B ?(I3(B) (?$B$((B ?$B%((B ?(I4(B) (?$B$*(B ?$B%*(B ?(I5(B)