[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/pyim 885a8a5627 4/6: Move pyim-process-get/last-candida
From: |
ELPA Syncer |
Subject: |
[elpa] externals/pyim 885a8a5627 4/6: Move pyim-process-get/last-candidates |
Date: |
Mon, 27 Jun 2022 05:57:58 -0400 (EDT) |
branch: externals/pyim
commit 885a8a56270757a89f5bb9a78c788c96a0165d35
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>
Move pyim-process-get/last-candidates
---
pyim-process.el | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/pyim-process.el b/pyim-process.el
index e16d780ad5..0b3600392e 100644
--- a/pyim-process.el
+++ b/pyim-process.el
@@ -217,12 +217,6 @@ imobj 组合构成在一起,构成了 imobjs 这个概念。比如:
(defun pyim-process-register-self-insert-command (command)
(cl-pushnew command pyim-process--self-insert-commands))
-(defun pyim-process-get-candidates ()
- pyim-process--candidates)
-
-(defun pyim-process-get-last-candidates ()
- pyim-process--last-candidates)
-
;; ** pyim-input-method 核心函数
(defvar pyim-mode-map)
@@ -508,9 +502,10 @@ imobj 组合构成在一起,构成了 imobjs 这个概念。比如:
select-last-word
select-current-word)
:replace-with))
- (candidates (if select-last-word
- pyim-process--last-candidates
- pyim-process--candidates))
+ (candidates
+ (if select-last-word
+ (pyim-process-get-last-candidates)
+ (pyim-process-get-candidates)))
(pyim-process--candidates
(if (and str (stringp str))
(list str)
@@ -550,6 +545,12 @@ imobj 组合构成在一起,构成了 imobjs 这个概念。比如:
(equal (plist-get x :select) type))
results))
+(defun pyim-process-get-last-candidates ()
+ pyim-process--last-candidates)
+
+(defun pyim-process-get-candidates ()
+ pyim-process--candidates)
+
(defun pyim-process-ui-refresh (&optional hightlight-current)
"刷新 pyim 相关 UI."
(run-hook-with-args 'pyim-process-ui-refresh-hook hightlight-current))
- [elpa] externals/pyim updated (db676274fa -> e1aeac91ee), ELPA Syncer, 2022/06/27
- [elpa] externals/pyim 31f693a919 3/6: Indent pyim-process-run, ELPA Syncer, 2022/06/27
- [elpa] externals/pyim 3d3044361e 1/6: Remove pyim-process-update-last-candidates, ELPA Syncer, 2022/06/27
- [elpa] externals/pyim 5b21586845 2/6: Move pyim-process-get-entered, ELPA Syncer, 2022/06/27
- [elpa] externals/pyim 885a8a5627 4/6: Move pyim-process-get/last-candidates,
ELPA Syncer <=
- [elpa] externals/pyim ae9687fff8 5/6: Sort pyim-process.el, ELPA Syncer, 2022/06/27
- [elpa] externals/pyim e1aeac91ee 6/6: Add pyim-punctuation-auto-half-width-p, ELPA Syncer, 2022/06/27