# HG changeset patch # User Kenichi Handa # Date 1081837228 0 # Node ID 5fad4082726a46d58893bcaab590e3d884010c48 # Parent 8acd4d359758d7ab2a39721adb8f35c1eb59e18e (next-word-boundary-kana): Handle half-width kana. diff -r 8acd4d359758 -r 5fad4082726a lisp/international/characters.el --- a/lisp/international/characters.el Tue Apr 13 00:44:50 2004 +0000 +++ b/lisp/international/characters.el Tue Apr 13 06:20:28 2004 +0000 @@ -953,12 +953,16 @@ (goto-char (match-end 0))) (if (looking-at "\\cH+") (goto-char (match-end 0))) + (if (looking-at "\\ck+") + (goto-char (match-end 0))) (point)) (let ((category-set (char-category-set (char-after pos))) category) - (if (aref category-set ?K) + (if (or (aref category-set ?K) (aref category-set ?k)) (while (and (> pos limit) - (aref (char-category-set (char-after (1- pos))) ?K)) + (setq category-set + (char-category-set (char-after (1- pos)))) + (or (aref category-set ?K) (aref category-set ?k))) (setq pos (1- pos))) (while (and (> pos limit) (aref (setq category-set