From 8941891ce380bca9dcd6dbdca4ae519fa082a835 Mon Sep 17 00:00:00 2001 From: Yuanle Song Date: Thu, 4 Apr 2019 12:13:52 +0800 Subject: [PATCH] minor, update docstring for zero-handle-preedit-char-* --- zero-framework.el | 2 +- zero-pinyin.el | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/zero-framework.el b/zero-framework.el index cfc98bf..3a02df0 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 727d506..db7a663 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)) -- GitLab