branch: externals/pyim
commit e655b3468f57c143b6d1836a206a6d1bf29930bb
Author: Feng Shu <tuma...@163.com>
Commit: Feng Shu <tuma...@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