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

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

[elpa] externals/pyim 43ca9ea966: * pyim-candidates.el (pyim-candidates-


From: ELPA Syncer
Subject: [elpa] externals/pyim 43ca9ea966: * pyim-candidates.el (pyim-candidates-create:xingma): Handle other-codes with pyim-candidates-get-chief.
Date: Sat, 1 Jan 2022 20:57:36 -0500 (EST)

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

    * pyim-candidates.el (pyim-candidates-create:xingma): Handle other-codes 
with pyim-candidates-get-chief.
---
 pyim-candidates.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/pyim-candidates.el b/pyim-candidates.el
index 83954b13fd..a6a69ce69e 100644
--- a/pyim-candidates.el
+++ b/pyim-candidates.el
@@ -125,7 +125,10 @@ IMOBJS 获得候选词条。"
           (when other-codes
             (setq prefix (mapconcat
                           (lambda (code)
-                            (car (pyim-dcache-get code '(code2word))))
+                            (pyim-candidates-get-chief
+                             scheme-name
+                             (pyim-dcache-get code '(icode2word))
+                             (pyim-dcache-get code '(code2word))))
                           other-codes "")))
 
           ;; 5. output => 工子又 工子叕



reply via email to

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