[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/pyim 87e10f1: * pyim-candidates.el (pyim-candidates-cr
From: |
ELPA Syncer |
Subject: |
[elpa] externals/pyim 87e10f1: * pyim-candidates.el (pyim-candidates-create-quanpin): 稍微优化。 |
Date: |
Tue, 7 Dec 2021 04:57:44 -0500 (EST) |
branch: externals/pyim
commit 87e10f1c6ad448f23dc7ae114685d77d7905e227
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>
* pyim-candidates.el (pyim-candidates-create-quanpin): 稍微优化。
---
pyim-candidates.el | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/pyim-candidates.el b/pyim-candidates.el
index 1a0e82b..c9d1232 100644
--- a/pyim-candidates.el
+++ b/pyim-candidates.el
@@ -124,10 +124,11 @@ IMOBJS 获得候选词条。"
(pyim-zip codes))
fast-search)))
- ;; 假如输入 "ni-h" ,那么搜索 code 为 "n-h" 的词条,然后筛选出所有拼音匹配
+ ;; 假如输入 "nih" ,那么搜索 code 为 "n-h" 的词条,然后筛选出所有拼音匹配
;; "ni-h" 或者 "ni[^-]*-h" 的词条。
- (dolist (imobj imobjs)
- (when (and (> (length imobj) 1) pyim-enable-shortcode)
+ (when (and pyim-enable-shortcode
+ (> (length (car imobjs)) 1))
+ (dolist (imobj imobjs)
(let* ((w (pyim-dcache-get
(mapconcat #'identity
(pyim-codes-create imobj scheme-name 1)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/pyim 87e10f1: * pyim-candidates.el (pyim-candidates-create-quanpin): 稍微优化。,
ELPA Syncer <=