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

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

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


From: ELPA Syncer
Subject: [elpa] externals/pyim e655b3468f: * pyim-candidates.el (pyim-candidates-create:xingma): delete-dups output.
Date: Sun, 26 Dec 2021 20:57:43 -0500 (EST)

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

    * pyim-candidates.el (pyim-candidates-create:xingma): delete-dups output.
---
 pyim-candidates.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyim-candidates.el b/pyim-candidates.el
index b3aba1130d..18a1e1646f 100644
--- a/pyim-candidates.el
+++ b/pyim-candidates.el
@@ -87,7 +87,7 @@ IMOBJS 获得候选词条。"
                                (list str))))
           (setq result (append result output3))))
       (when (car result)
-        result))))
+        (delete-dups result)))))
 
 (defun pyim-candidates-create:quanpin (imobjs scheme-name &optional async)
   "`pyim-candidates-create' 处理全拼输入法的函数."



reply via email to

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