emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/pyim 68072859e1: * pyim-process.el (pyim-process-run-1


From: ELPA Syncer
Subject: [elpa] externals/pyim 68072859e1: * pyim-process.el (pyim-process-run-1): 自动上屏时创建词条。
Date: Fri, 31 Dec 2021 05:57:39 -0500 (EST)

branch: externals/pyim
commit 68072859e1e002a7503eda6859f9d0e125ad23d9
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>

    * pyim-process.el (pyim-process-run-1): 自动上屏时创建词条。
---
 pyim-process.el | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/pyim-process.el b/pyim-process.el
index 4239fb3217..a647024fd0 100644
--- a/pyim-process.el
+++ b/pyim-process.el
@@ -281,7 +281,8 @@
                 (if (and str (stringp str))
                     (list str)
                   pyim-candidates-last)))
-          (pyim-process-outcome-handle 'candidate))
+          (pyim-process-outcome-handle 'candidate)
+          (pyim-process-create-word (pyim-process-get-outcome)))
         ;; autoselector 机制已经触发的时候,如果发现 entered buffer 中
         ;; point 后面还有未处理的输入,就将其转到下一轮处理,这种情况
         ;; 很少出现,一般是型码输入法,entered 编辑的时候有可能触发。
@@ -303,7 +304,8 @@
                 (if (and str (stringp str))
                     (list str)
                   pyim-candidates)))
-          (pyim-process-outcome-handle 'candidate))
+          (pyim-process-outcome-handle 'candidate)
+          (pyim-process-create-word (pyim-process-get-outcome)))
         (pyim-add-unread-command-events
          (pyim-entered-get 'point-after))
         (pyim-process-terminate))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]