Commit d5f9316f authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(setup-japanese-environment-internal): Prefer japanese-shift-jis on

DOS and Windows.
parent 187e92d0
......@@ -32,10 +32,8 @@
;; 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
'((?$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)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment