Tweak how some Japanese punctuation chars are translated to ASCII

* lisp/language/japan-util.el (japanese-symbol-table): Tweak
Japanese punctuation character translation (bug#47767).
This commit is contained in:
Kazuhiro Ito 2021-05-05 17:09:07 +02:00 committed by Lars Ingebrigtsen
parent 3481903d13
commit f1c6a4c41e

View file

@ -96,9 +96,9 @@ HANKAKU-KATAKANA belongs to `japanese-jisx0201-kana'.")
(put-char-code-property jisx0201 'jisx0208 katakana)))))
(defconst japanese-symbol-table
'((?\  ?\ ) (? ?, ?、) (? ?. ?。) (?、 ?, ?、) (?。 ?. ?。) (?・ nil ?・)
'((?\  ?\ ) (? ?,) (? ?.) (?、 nil ?、) (?。 nil ?。) (?・ nil ?・)
(? ?:) (? ?\;) (? ??) (? ?!) (?゛ nil ?゙) (?゜ nil ?゚)
(?´ ?') (? ?`) (? ?^) (?_ ?_) (?ー ?- ?ー) (?— ?-) (? ?-)
(?´ ?') (? ?`) (? ?^) (?_ ?_) (?ー nil ?ー) (?— ?-) (? ?-)
(? ?/) (? ?\\) (?〜 ?~) (? ?|) (? ?`) (? ?') (?“ ?\") (?” ?\")
(?\ ?\() (?\ ?\)) (?\ ?\[) (?\ ?\]) (?\ ?{) (?\ ?})
(?〈 ?<) (?〉 ?>) (?\「 nil ?\「) (?\」 nil ?\」)