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

Make sure that the value of jisx0208 property is jisx0208 character.

parent f70b8925
2009-11-13 Kenichi Handa <handa@m17n.org>
* language/japan-util.el: Make sure that the value of jisx0208
property is jisx0208 character.
2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
* international/mule.el (auto-coding-regexp-alist): Only purecopy
......
......@@ -109,10 +109,10 @@ HANKAKU-KATAKANA belongs to `japanese-jisx0201-kana'.")
(?$B!w(B ?@)
;; cp932-2-byte
(#x2015 ?-) (#xFF5E ?~) (#xFF0D ?-))
"Japanese JISX0208 symbol character table.
"Japanese JISX0208 and CP932 symbol character table.
Each element is of the form (SYMBOL ASCII HANKAKU), where SYMBOL
belongs to `japanese-jisx0208', ASCII belongs to `ascii', and HANKAKU
belongs to `japanese-jisx0201-kana'.")
belongs to `japanese-jisx0208' or `cp932', ASCII belongs to `ascii',
and HANKAKU belongs to `japanese-jisx0201-kana'.")
;; Put properties 'jisx0208, 'jisx0201, and 'ascii to each Japanese
;; symbol and ASCII characters for conversion among them.
......@@ -125,11 +125,13 @@ belongs to `japanese-jisx0201-kana'.")
(if ascii
(progn
(put-char-code-property jisx0208 'ascii ascii)
(put-char-code-property ascii 'jisx0208 jisx0208)))
(if (encode-char jisx0208 'japanese-jisx0208)
(put-char-code-property ascii 'jisx0208 jisx0208))))
(if jisx0201
(progn
(put-char-code-property jisx0208 'jisx0201 jisx0201)
(put-char-code-property jisx0201 'jisx0208 jisx0208)))))
(if (encode-char jisx0208 'japanese-jisx0208)
(put-char-code-property jisx0201 'jisx0208 jisx0208))))))
(defconst japanese-alpha-numeric-table
'((?$B#0(B . ?0) (?$B#1(B . ?1) (?$B#2(B . ?2) (?$B#3(B . ?3) (?$B#4(B . ?4)
......
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