[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/pyim b764d12b76 4/6: Improve pyim-process--entered-to-b
From: |
ELPA Syncer |
Subject: |
[elpa] externals/pyim b764d12b76 4/6: Improve pyim-process--entered-to-be-translated |
Date: |
Mon, 27 Jun 2022 18:57:52 -0400 (EDT) |
branch: externals/pyim
commit b764d12b76c9b348540c4ae6ff32f0de6246a55d
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>
Improve pyim-process--entered-to-be-translated
---
pyim-process.el | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/pyim-process.el b/pyim-process.el
index f5289f03b4..f336f84192 100644
--- a/pyim-process.el
+++ b/pyim-process.el
@@ -740,13 +740,14 @@ xiaolifeidao
中,比如五笔输入法,就不成立,好在型码输入法一般不需要多次
选择。"
(let* ((imobj (pyim-process-get-first-imobj))
- (length-selected-word
+ (length-selected-word-in-this-step
(- (length (pyim-outcome-get))
(length (pyim-outcome-get 1)))))
- (when (< length-selected-word (length imobj))
- (string-join (mapcar (lambda (w)
- (concat (nth 2 w) (nth 3 w)))
- (nthcdr length-selected-word imobj))))))
+ (when (< length-selected-word-in-this-step (length imobj))
+ (string-join
+ (mapcar (lambda (w)
+ (concat (nth 2 w) (nth 3 w)))
+ (nthcdr length-selected-word-in-this-step imobj))))))
(defun pyim-process-create-word (word &optional prepend wordcount-handler
criteria)
"将中文词条 WORD 添加编码后,保存到用户选择过的词生成的缓存中。
- [elpa] externals/pyim updated (e1aeac91ee -> 24705a2dee), ELPA Syncer, 2022/06/27
- [elpa] externals/pyim cc581e6318 5/6: Add pyim-process--select-word-in-next-step, ELPA Syncer, 2022/06/27
- [elpa] externals/pyim b764d12b76 4/6: Improve pyim-process--entered-to-be-translated,
ELPA Syncer <=
- [elpa] externals/pyim 24705a2dee 6/6: Add pyim-outcome-diff, ELPA Syncer, 2022/06/27
- [elpa] externals/pyim b26e96e93c 3/6: Add pyim-process--multi-step-select-word-p, ELPA Syncer, 2022/06/27
- [elpa] externals/pyim 3561e298ba 1/6: Add pyim-outcome-add/erase, ELPA Syncer, 2022/06/27
- [elpa] externals/pyim b4ba990092 2/6: Add pyim-process--entered-to-be-translated, ELPA Syncer, 2022/06/27