[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/pyim 9fbdc6c19e 13/22: pyim-process-self-insert-command
From: |
ELPA Syncer |
Subject: |
[elpa] externals/pyim 9fbdc6c19e 13/22: pyim-process-self-insert-commands -> pyim-process--self-insert-commands |
Date: |
Fri, 24 Jun 2022 16:57:52 -0400 (EDT) |
branch: externals/pyim
commit 9fbdc6c19e60c8daccec292fdb2e7810ef2dbaa6
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>
pyim-process-self-insert-commands -> pyim-process--self-insert-commands
---
pyim-process.el | 12 ++++++------
tests/pyim-tests.el | 4 ++--
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/pyim-process.el b/pyim-process.el
index 52dd36065b..807d88f0b9 100644
--- a/pyim-process.el
+++ b/pyim-process.el
@@ -88,9 +88,6 @@ entered (nihaom) 的第一个候选词。
"延迟多少秒开始延迟获取词条。"
:type 'integer)
-(defvar pyim-process-self-insert-commands nil
- "保存所有的 self insert command.")
-
(defvar pyim-process-ui-init-hook nil
"Hook used to run ui init functions.")
@@ -109,6 +106,9 @@ entered (nihaom) 的第一个候选词。
(defvar pyim-process-stop-daemon-hook nil
"Pyim stop daemon hook.")
+(defvar pyim-process--self-insert-commands nil
+ "保存所有的 self insert command.")
+
(defvar pyim-process--input-ascii nil
"是否开启 pyim 英文输入模式.")
@@ -197,7 +197,7 @@ imobj 组合构成在一起,构成了 imobjs 这个概念。比如:
pyim-process--candidates
pyim-process--candidate-position))
-;; ** 其它包调用的短小函数
+;; ** 其它包调用的小函数
(defun pyim-process-translating-p ()
pyim-process--translating)
@@ -211,7 +211,7 @@ imobj 组合构成在一起,构成了 imobjs 这个概念。比如:
(setq pyim-process--force-input-chinese t))
(defun pyim-process-register-self-insert-command (command)
- (cl-pushnew command pyim-process-self-insert-commands))
+ (cl-pushnew command pyim-process--self-insert-commands))
(defun pyim-process-get-entered (&optional type)
(pyim-entered-get type))
@@ -480,7 +480,7 @@ imobj 组合构成在一起,构成了 imobjs 这个概念。比如:
(defun pyim-process-self-insert-command-p (cmd)
"测试 CMD 是否是一个 pyim self insert command."
- (member cmd pyim-process-self-insert-commands))
+ (member cmd pyim-process--self-insert-commands))
(defun pyim-process--autoselector-results ()
"运行所有 autoselectors, 返回结果列表。"
diff --git a/tests/pyim-tests.el b/tests/pyim-tests.el
index 2f2f7a85dd..d00e803863 100644
--- a/tests/pyim-tests.el
+++ b/tests/pyim-tests.el
@@ -2049,8 +2049,8 @@ abc 这是")))
'(:select last :replace "test3")))))
(ert-deftest pyim-tests-pyim-process-self-insert-command-p ()
- (let ((pyim-process-self-insert-commands nil))
- (cl-pushnew 'test pyim-process-self-insert-commands)
+ (let ((pyim-process--self-insert-commands nil))
+ (cl-pushnew 'test pyim-process--self-insert-commands)
(should (pyim-process-self-insert-command-p 'test))))
(ert-deftest pyim-tests-pyim-process-ui-refresh ()
- [elpa] externals/pyim 904158eeea 05/22: Add functions about last created words., (continued)
- [elpa] externals/pyim 904158eeea 05/22: Add functions about last created words., ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 2bdbf13588 01/22: Add pyim-process-toggle-input-ascii., ELPA Syncer, 2022/06/24
- [elpa] externals/pyim c6d66eb229 04/22: pyim-process-force-input-chinese* -> pyim-process--force-input-chinese*, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 5be6de9076 03/22: Add pyim-process-force-input-chinese function, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 263c914d98 11/22: Sort pyim-process.el, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 4ff29d474a 19/22: Add functions about assistant, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 0cbf92253d 16/22: pyim-indicator-stop-daemon -> pyim-indicator--stop-daemon, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 6143931277 18/22: Sort pyim-punctuation.el, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim aa500a5174 20/22: pyim-scheme-enable-assistant-p -> pyim-scheme--enable-assistant-p, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim b744349efb 02/22: pyim-process-input-ascii -> pyim-process--input-ascii, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 9fbdc6c19e 13/22: pyim-process-self-insert-commands -> pyim-process--self-insert-commands,
ELPA Syncer <=
- [elpa] externals/pyim c94f38ffda 22/22: Add pyim-scheme-get-all-schemes, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim a457fb8960 06/22: pyim-process-last-created-words -> pyim-process--last-created-words, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 97c95520f7 07/22: Add functions about pyim-process-translating, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim d369b1a191 09/22: Sort pyim-process.el, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 46b94dfbea 17/22: Add pyim-punctuation-escape-p, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim c721f2075f 15/22: pyim-indicator-start-daemon -> pyim-indicator--start-daemon, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 4ed3eb3c13 10/22: pyim-process--run-delay -> pyim-process-run-delay, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 47ca11bebb 12/22: Add pyim-process-register-self-insert-command, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 74ab54b340 14/22: pyim-dhashcache-count-types -> pyim-dhashcache--count-types, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 24cbb3ade9 21/22: pyim-schemes -> pyim-scheme--all-schemes, ELPA Syncer, 2022/06/24