branch: externals/pyim
commit b84afb4f2d43b871f8bcd2cc3e0248ab6b18df16
Author: Feng Shu <[email protected]>
Commit: Feng Shu <[email protected]>
Register pyim-process-translating, pyim-process-last-created-word in
pyim-process.el
---
pyim-process.el | 4 ++++
pyim.el | 2 --
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/pyim-process.el b/pyim-process.el
index acd72eb..afa512c 100644
--- a/pyim-process.el
+++ b/pyim-process.el
@@ -65,6 +65,10 @@
(defvar pyim-process-run-timer nil
"异步处理 intered 时时,使用的 timer.")
+(pyim-register-local-variables
+ '(pyim-process-translating
+ pyim-process-last-created-word))
+
(defun pyim-process-init-dcaches (&optional force save-caches)
"PYIM 流程,词库相关的初始化工作。"
(pyim-recreate-local-variables)
diff --git a/pyim.el b/pyim.el
index 65ae332..b9fd261 100644
--- a/pyim.el
+++ b/pyim.el
@@ -139,8 +139,6 @@ Tip: 用户也可以利用 `pyim-outcome-trigger-function-default' 函数
(pyim-register-local-variables
'(pyim-input-ascii
- pyim-process-translating
- pyim-process-last-created-word
input-method-function
inactivate-current-input-method-function
describe-current-input-method-function))