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

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

[elpa] externals/pyim 1e79ffb 4/5: Fix warn.


From: ELPA Syncer
Subject: [elpa] externals/pyim 1e79ffb 4/5: Fix warn.
Date: Wed, 9 Jun 2021 10:57:15 -0400 (EDT)

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

    Fix warn.
---
 pyim-outcome.el | 4 ----
 pyim-process.el | 4 ++++
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/pyim-outcome.el b/pyim-outcome.el
index 38c2e5f..e7253c6 100644
--- a/pyim-outcome.el
+++ b/pyim-outcome.el
@@ -150,10 +150,6 @@ pyim 的 translate-trigger-char 要占用一个键位,为了防止用户
           (car prefer-triggers))
       user-trigger)))
 
-;; Fix compile warn.
-(declare-function pyim-create-word-at-point "pyim")
-(declare-function pyim-delete-word-at-point "pyim")
-
 (define-obsolete-function-alias 'pyim-wash-current-line-function 
'pyim-outcome-trigger-function-default "4.0")
 (defun pyim-outcome-trigger-function-default (&optional no-space)
   "默认的 `pyim-outcome-trigger-function'.
diff --git a/pyim-process.el b/pyim-process.el
index d97d919..8f6ae03 100644
--- a/pyim-process.el
+++ b/pyim-process.el
@@ -347,6 +347,10 @@
          (push (pyim-entered-get 'point-before) pyim-outcome-history))
         (t (error "Pyim: invalid outcome"))))
 
+;; Fix compile warn.
+(declare-function pyim-create-word-at-point "pyim")
+(declare-function pyim-delete-word-at-point "pyim")
+
 (defun pyim-process-outcome-handle-char (char)
   "Pyim 字符转换函数,主要用于处理标点符号.
 



reply via email to

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