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

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

[elpa] externals/pyim 404add9758 29/35: pyim-process-autoselector-result


From: ELPA Syncer
Subject: [elpa] externals/pyim 404add9758 29/35: pyim-process-autoselector-results -> pyim-process--autoselector-results
Date: Fri, 24 Jun 2022 08:58:08 -0400 (EDT)

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

    pyim-process-autoselector-results -> pyim-process--autoselector-results
---
 pyim-process.el     | 4 ++--
 tests/pyim-tests.el | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/pyim-process.el b/pyim-process.el
index 5cb0c4803f..04fabd5717 100644
--- a/pyim-process.el
+++ b/pyim-process.el
@@ -358,7 +358,7 @@ imobj 组合构成在一起,构成了 imobjs 这个概念。比如:
           ;; autoselector 功能会影响手动连续选择功能,所以这里做了一些限制,
           ;; 只有在输入的时候才能够触发 autoselector 机制。
           (when (pyim-process-self-insert-command-p this-command)
-            (pyim-process-autoselector-results)))
+            (pyim-process--autoselector-results)))
          (select-last-word
           (pyim-process-autoselector-find-result results 'last))
          (select-current-word
@@ -389,7 +389,7 @@ imobj 组合构成在一起,构成了 imobjs 这个概念。比如:
       ;; pyim 后续操作会检测这个返回值。
       'auto-select-success)))
 
-(defun pyim-process-autoselector-results ()
+(defun pyim-process--autoselector-results ()
   "运行所有 autoselectors, 返回结果列表。"
   (mapcar (lambda (x)
             (when (functionp x)
diff --git a/tests/pyim-tests.el b/tests/pyim-tests.el
index 0f1c73158a..35463fe562 100644
--- a/tests/pyim-tests.el
+++ b/tests/pyim-tests.el
@@ -2037,7 +2037,7 @@ abc 这是")))
                   (list :select 'last :replace "test4"))
                 (lambda ()
                   (list :select 'last :replace "test4"))))
-         (results (pyim-process-autoselector-results)))
+         (results (pyim-process--autoselector-results)))
     (should (equal results
                    '((:select current :replace "test1")
                      (:select current :replace "test2")



reply via email to

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