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

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

[elpa] externals/pyim 8690bd940d 18/26: pyim-process-translating-p -> py


From: ELPA Syncer
Subject: [elpa] externals/pyim 8690bd940d 18/26: pyim-process-translating-p -> pyim-process--translating-p
Date: Sun, 26 Jun 2022 10:57:53 -0400 (EDT)

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

    pyim-process-translating-p -> pyim-process--translating-p
---
 pyim-process.el | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/pyim-process.el b/pyim-process.el
index a63cabcdd8..8c488f01eb 100644
--- a/pyim-process.el
+++ b/pyim-process.el
@@ -198,9 +198,6 @@ imobj 组合构成在一起,构成了 imobjs 这个概念。比如:
    pyim-process--candidate-position))
 
 ;; ** 其它包调用的小函数
-(defun pyim-process-translating-p ()
-  pyim-process--translating)
-
 (defun pyim-process-toggle-input-ascii ()
   "pyim 切换中英文输入模式, 同时调整标点符号样式。"
   (interactive)
@@ -290,7 +287,7 @@ imobj 组合构成在一起,构成了 imobjs 这个概念。比如:
         (when key
           (pyim-add-unread-command-events key))
 
-        (while (pyim-process-translating-p)
+        (while (pyim-process--translating-p)
           (set-buffer-modified-p modified-p)
           (let* ((keyseq (read-key-sequence nil nil nil t))
                  (cmd (lookup-key pyim-mode-map keyseq)))
@@ -327,6 +324,9 @@ imobj 组合构成在一起,构成了 imobjs 这个概念。比如:
   (pyim-entered-erase-buffer)
   (pyim-process-outcome-handle ""))
 
+(defun pyim-process--translating-p ()
+  pyim-process--translating)
+
 ;; ** Dcache,UI 和 daemon 相关
 (defun pyim-process-ui-init ()
   "初始化 pyim 相关 UI."
@@ -621,7 +621,7 @@ imobj 组合构成在一起,构成了 imobjs 这个概念。比如:
      pyim-process--imobjs scheme
      (lambda (async-return)
        (with-current-buffer buffer
-         (when (and (pyim-process-translating-p)
+         (when (and (pyim-process--translating-p)
                     (not (input-pending-p))
                     (equal (car async-return) pyim-process--imobjs))
            (setq pyim-process--candidates



reply via email to

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