branch: externals/pyim commit 8beba703d815c33afad574a76c75108c72b91223 Author: Feng Shu <tuma...@163.com> Commit: Feng Shu <tuma...@163.com>
* pyim-candidates.el (pyim-candidates-create-limit-time): Update docstring. --- pyim-candidates.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pyim-candidates.el b/pyim-candidates.el index b520367caf..a31acb41ab 100644 --- a/pyim-candidates.el +++ b/pyim-candidates.el @@ -281,18 +281,18 @@ (cl-subseq chars 0 num))) (cl-defgeneric pyim-candidates-create-limit-time (imobjs scheme orig-candidates) - "按照 SCHEME, 使用延迟的方式从 IMOBJS 获得候选词条。 + "按照 SCHEME, 使用限时运行的方式从 IMOBJS 获得候选词条。 1. 这个函数是同步运行。 2. 这个函数运行有时间限制,运行超过某个时间后,无论有没有结果,必须结束。 3. 这个函数需要探测用户是否输入,如果用户开始输入,这个函数运行必须结束。") (cl-defmethod pyim-candidates-create-limit-time (_imobjs _scheme orig-candidates) - "按照 SCHEME, 使用延迟的方式从 IMOBJS 获得候选词条。" + "按照 SCHEME, 使用限时运行的方式从 IMOBJS 获得候选词条。" orig-candidates) (cl-defmethod pyim-candidates-create-limit-time (imobjs (scheme pyim-scheme-quanpin) orig-candidates) - "按照 SCHEME, 用延迟的方式从 IMOBJS 获得候选词条,用于全拼输入法。" + "按照 SCHEME, 用限时运行的方式从 IMOBJS 获得候选词条,用于全拼输入法。" ;; 构建一个搜索中文的正则表达式, 然后使用这个正则表达式在当前 buffer 中搜 ;; 索词条。 (let ((str (string-join (pyim-codes-create (car imobjs) scheme)))) @@ -327,7 +327,7 @@ (or (gethash b counts) 0)))))))) (cl-defmethod pyim-candidates-create-limit-time (imobjs (_scheme pyim-scheme-shuangpin) orig-candidates) - "按照 SCHEME, 用延迟的方式从 IMOBJS 获得候选词条,用于双拼输入法。" + "按照 SCHEME, 用限时运行的方式从 IMOBJS 获得候选词条,用于双拼输入法。" ;; 注意:pyim 支持的双拼输入法,内部使用全拼的 imobjs, 所以这里直接调用全拼的 ;; `pyim-candidates-create-limit-time' 方法来处理 imobjs。 (cl-call-next-method imobjs (pyim-scheme-get 'quanpin) orig-candidates))