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

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

[elpa] externals/pyim 3c3dd96c6f 1/2: * pyim.el (pyim-search-word-code):


From: ELPA Syncer
Subject: [elpa] externals/pyim 3c3dd96c6f 1/2: * pyim.el (pyim-search-word-code): Fixed.
Date: Mon, 6 Jun 2022 00:57:48 -0400 (EDT)

branch: externals/pyim
commit 3c3dd96c6f2ffff52dd0468f178a7bb95e80aea6
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@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)))



reply via email to

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