diff --git a/zero-framework.el b/zero-framework.el index cfc98bfd79888ac7d335a43aabfb103937353c22..3a02df06a4b2ed20dd5c9b4fa0fe401ecad3fc60 100644 --- a/zero-framework.el +++ b/zero-framework.el @@ -276,7 +276,7 @@ return ch's Chinese punctuation if ch is converted. return nil otherwise" (zero-show-candidates)))) (defun zero-handle-preedit-char-default (ch) - "hanlde character insert in `*zero-state-im-preediting*' mode" + "hanlde character insert in `*zero-state-im-preediting*' state" (cond ((= ch ?\s) (zero-commit-first-candidate-or-preedit-str)) diff --git a/zero-pinyin.el b/zero-pinyin.el index 727d506f7f53bad254b391bcc7f583401d36058b..db7a663615040e70dab67a2597baf6ce0324f243 100644 --- a/zero-pinyin.el +++ b/zero-pinyin.el @@ -127,7 +127,7 @@ otherwise, just return nil" (t (error "unexpected zero-pinyin-state: %s" zero-pinyin-state)))))) (defun zero-pinyin-handle-preedit-char (ch) - "handle IM-PREEDITING state char insert. overrides `zero-handle-preedit-char-default'" + "hanlde character insert in `*zero-state-im-preediting*' state. overrides `zero-handle-preedit-char-default'" (cond ((= ch ?\s) (zero-pinyin-commit-first-candidate-or-preedit-str))