[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/pyim 1ec45c77bb 08/26: Simplify pyim-select-word-simple
From: |
ELPA Syncer |
Subject: |
[elpa] externals/pyim 1ec45c77bb 08/26: Simplify pyim-select-word-simple |
Date: |
Sun, 26 Jun 2022 10:57:52 -0400 (EDT) |
branch: externals/pyim
commit 1ec45c77bb15427e38acdabeb9c648b047f477eb
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>
Simplify pyim-select-word-simple
---
pyim.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/pyim.el b/pyim.el
index b5769f5d67..493c37e52f 100644
--- a/pyim.el
+++ b/pyim.el
@@ -460,9 +460,9 @@ FILE 的格式与 `pyim-dcache-export' 生成的文件格式相同,
然后再删除不需要的字,由于这个词条不是常用词条,所以
不需要保存到个人词库。"
(interactive)
- (if (null (pyim-process-get-candidates))
- (pyim-process-outcome-handle 'last-char)
- (pyim-process-outcome-handle 'candidate))
+ (if (pyim-process-get-candidates)
+ (pyim-process-outcome-handle 'candidate)
+ (pyim-process-select-last-char))
(pyim-process-terminate))
(defun pyim-select-word ()
- [elpa] externals/pyim fbbeb02817 01/26: pyim-process-set-candidate-position -> pyim-process-plan-to-select-word, (continued)
- [elpa] externals/pyim fbbeb02817 01/26: pyim-process-set-candidate-position -> pyim-process-plan-to-select-word, ELPA Syncer, 2022/06/26
- [elpa] externals/pyim 67e16e96a5 02/26: Move pyim-process-plan-to-select-word, ELPA Syncer, 2022/06/26
- [elpa] externals/pyim 424169d8d8 06/26: Add pyim-process-select-word-and-last-char, ELPA Syncer, 2022/06/26
- [elpa] externals/pyim 95e4dd4b27 04/26: pyim-select-word-really -> pyim-process-select-word, ELPA Syncer, 2022/06/26
- [elpa] externals/pyim 63d7b16f46 05/26: Add pyim-process-select-last-char, ELPA Syncer, 2022/06/26
- [elpa] externals/pyim b769c97469 13/26: Add pyim-select-word-by-number-1, ELPA Syncer, 2022/06/26
- [elpa] externals/pyim eb585d56d1 10/26: Simplify pyim-select-word-by-number, ELPA Syncer, 2022/06/26
- [elpa] externals/pyim 74fdade342 16/26: Add ignore-errors in pyim-process-with-entered-buffer., ELPA Syncer, 2022/06/26
- [elpa] externals/pyim 7e80507f17 25/26: pyim-process-next-word-position, ELPA Syncer, 2022/06/26
- [elpa] externals/pyim 009c56fd15 21/26: Update comment., ELPA Syncer, 2022/06/26
- [elpa] externals/pyim 1ec45c77bb 08/26: Simplify pyim-select-word-simple,
ELPA Syncer <=
- [elpa] externals/pyim e7c8d3782a 14/26: Use pyim-process-select-last-char in pyim-page.el, ELPA Syncer, 2022/06/26
- [elpa] externals/pyim 862776bf21 24/26: Add pyim-process-plan-to-select-next-word, ELPA Syncer, 2022/06/26
- [elpa] externals/pyim 2f9cfb058a 17/26: Add pyim-process-select-nothing, ELPA Syncer, 2022/06/26
- [elpa] externals/pyim d7952b08ef 03/26: Add pyim-page-plan-to-select-word, ELPA Syncer, 2022/06/26
- [elpa] externals/pyim 95a4d01768 09/26: Simplify pyim-select-word, ELPA Syncer, 2022/06/26
- [elpa] externals/pyim 011b87a78f 15/26: Add pyim-process-without-entered-p, ELPA Syncer, 2022/06/26
- [elpa] externals/pyim 4b459fb22c 26/26: Refactor, ELPA Syncer, 2022/06/26
- [elpa] externals/pyim 8690bd940d 18/26: pyim-process-translating-p -> pyim-process--translating-p, ELPA Syncer, 2022/06/26
- [elpa] externals/pyim c44e5d00db 11/26: pyim-process-create-code-criteria -> pyim-process--create-code-criteria, ELPA Syncer, 2022/06/26
- [elpa] externals/pyim d69083f029 20/26: Move pyim-select-finish-hook to pyim-process.el, ELPA Syncer, 2022/06/26