;; 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)
- (cond ((eq system-type 'ms-dos)
- (prefer-coding-system 'japanese-shift-jis))
- ((eq system-type 'usg-unix-v)
- (prefer-coding-system 'japanese-iso-8bit))))
+ (if (memq system-type '(windows-nt ms-dos cygwin))
+ (prefer-coding-system 'japanese-shift-jis)))
(defconst japanese-kana-table
'((?\e$B$"\e(B ?\e$B%"\e(B ?\e(I1\e(B) (?\e$B$$\e(B ?\e$B%$\e(B ?\e(I2\e(B) (?\e$B$&\e(B ?\e$B%&\e(B ?\e(I3\e(B) (?\e$B$(\e(B ?\e$B%(\e(B ?\e(I4\e(B) (?\e$B$*\e(B ?\e$B%*\e(B ?\e(I5\e(B)