diff options
| author | Kenichi Handa | 2000-07-25 12:22:01 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2000-07-25 12:22:01 +0000 |
| commit | fbc7bbf778f45d15ad29a454a1c728e4657043e4 (patch) | |
| tree | 5ed624171aef21df5b3eac78475914a1bf548875 | |
| parent | 8c6621660ca1eb41e15552b3e4260a0160768c99 (diff) | |
| download | emacs-fbc7bbf778f45d15ad29a454a1c728e4657043e4.tar.gz emacs-fbc7bbf778f45d15ad29a454a1c728e4657043e4.zip | |
(japanese-katakana-region): Fix handling HANKAKU argument.
| -rw-r--r-- | lisp/language/japan-util.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/language/japan-util.el b/lisp/language/japan-util.el index fc1e123fa09..9e63dcbaf04 100644 --- a/lisp/language/japan-util.el +++ b/lisp/language/japan-util.el | |||
| @@ -232,7 +232,9 @@ of which charset is `japanese-jisx0201-kana'." | |||
| 232 | (goto-char (point-min)) | 232 | (goto-char (point-min)) |
| 233 | (while (re-search-forward "\\cH\\|\\cK" nil t) | 233 | (while (re-search-forward "\\cH\\|\\cK" nil t) |
| 234 | (let* ((kana (preceding-char)) | 234 | (let* ((kana (preceding-char)) |
| 235 | (composition (get-char-code-property kana 'kana-composition)) | 235 | (composition |
| 236 | (and (not hankaku) | ||
| 237 | (get-char-code-property kana 'kana-composition))) | ||
| 236 | next slot) | 238 | next slot) |
| 237 | (if (and composition (setq slot (assq (following-char) composition))) | 239 | (if (and composition (setq slot (assq (following-char) composition))) |
| 238 | (japanese-replace-region (match-beginning 0) (1+ (point)) | 240 | (japanese-replace-region (match-beginning 0) (1+ (point)) |