branch: externals/pyim commit 3c3dd96c6f2ffff52dd0468f178a7bb95e80aea6 Author: Feng Shu <tuma...@163.com> Commit: Feng Shu <tuma...@163.com>
* pyim.el (pyim-search-word-code): Fixed. --- pyim.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyim.el b/pyim.el index eda4526175..332a1fe050 100644 --- a/pyim.el +++ b/pyim.el @@ -821,7 +821,7 @@ FILE 的格式与 `pyim-dcache-export' 生成的文件格式相同, codes) (if (not (string-match-p "^\\cc+\\'" string)) (error "PYIM: 不是纯中文字符串。") - (setq codes (pyim-cstring-to-codes string pyim-default-scheme)) + (setq codes (pyim-cstring-to-codes string (pyim-scheme-current))) (if codes (message "PYIM (%S): %S -> %S" pyim-default-scheme string codes) (message "PYIM: 没有找到 %S 对应的编码。" string)))