emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/pyim 5b1db42 1/5: * pyim.el (pyim-create-pyim-word): us


From: ELPA Syncer
Subject: [elpa] externals/pyim 5b1db42 1/5: * pyim.el (pyim-create-pyim-word): use pyim-cstring-to-xingma instead of pyim-hanzi2xingma.
Date: Tue, 4 May 2021 07:57:14 -0400 (EDT)

branch: externals/pyim
commit 5b1db429c33b0ed04b5713dba4561b5dff1188b8
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>

    * pyim.el (pyim-create-pyim-word): use pyim-cstring-to-xingma instead of 
pyim-hanzi2xingma.
---
 pyim.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pyim.el b/pyim.el
index 655eee1..7bd19af 100644
--- a/pyim.el
+++ b/pyim.el
@@ -451,7 +451,7 @@ REFRESH-COMMON-DCACHE 已经废弃,不要再使用了。"
 词条就会放到已有词条的最前面。
 
 根据当前输入法,决定是调用 `pyim-cstring-to-pinyin' 还是
-`pyim-hanzi2xingma' 来获取中文词条的编码。
+`pyim-cstring-to-xingma' 来获取中文词条的编码。
 
 WORDCOUNT-HANDLER 可以是一个数字,代表将此数字设置为 WORD 的新词频,
 WORDCOUNT-HANDLER 也可以是一个函数,其返回值将设置为 WORD 的新词频,
@@ -468,7 +468,7 @@ BUG:拼音无法有效地处理多音字。"
            (class (pyim-scheme-get-option scheme-name :class))
            (code-prefix (pyim-scheme-get-option scheme-name :code-prefix))
            (codes (cond ((eq class 'xingma)
-                         (pyim-hanzi2xingma word scheme-name t))
+                         (pyim-cstring-to-xingma word scheme-name t))
                         ;;拼音使用了多音字校正
                         (t (pyim-cstring-to-pinyin word nil "-" t nil t)))))
       ;; 保存对应词条的词频



reply via email to

[Prev in Thread] Current Thread [Next in Thread]