branch: externals/pyim
commit 289860e1061fbd9ce706b6509ab5552a74b10dce
Author: Feng Shu <[email protected]>
Commit: Feng Shu <[email protected]>
* pyim.el (pyim-select-word:xingma): sort char candidates when use xingma.
---
pyim.el | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/pyim.el b/pyim.el
index a55282c..8b4104c 100644
--- a/pyim.el
+++ b/pyim.el
@@ -686,11 +686,9 @@ FILE 的格式与 `pyim-dcache-export' 生成的文件格式相同,
;; 字符串里面剪掉。
(delete-region (point-min) (point)))
(pyim-entered-refresh))
- ;; 型码输入法,只考虑将词条保存到个人词库,用于调整词频,单字不保存。
- (when (> (length (pyim-outcome-get)) 1)
- (if (member (pyim-outcome-get) pyim-candidates)
- (pyim-create-pyim-word (pyim-outcome-get) t)
- (pyim-create-pyim-word (pyim-outcome-get))))
+ (if (member (pyim-outcome-get) pyim-candidates)
+ (pyim-create-pyim-word (pyim-outcome-get) t)
+ (pyim-create-pyim-word (pyim-outcome-get)))
(pyim-terminate-translation)
;; pyim 使用这个 hook 来处理联想词。
(run-hooks 'pyim-select-finish-hook)))