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

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

[elpa] externals/pyim 3bf8b35 6/6: * pyim-outcome.el (pyim-outcome-handl


From: ELPA Syncer
Subject: [elpa] externals/pyim 3bf8b35 6/6: * pyim-outcome.el (pyim-outcome-handle-char): Do not use pyim-wash-*
Date: Sun, 25 Apr 2021 00:57:12 -0400 (EDT)

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

    * pyim-outcome.el (pyim-outcome-handle-char): Do not use pyim-wash-*
---
 pyim-outcome.el | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/pyim-outcome.el b/pyim-outcome.el
index e0d799f..b4e6884 100644
--- a/pyim-outcome.el
+++ b/pyim-outcome.el
@@ -188,7 +188,6 @@ pyim 的 translate-trigger-char 要占用一个键位,为了防止用户
 ;; Fix compile warn.
 (declare-function pyim-create-word-at-point "pyim")
 (declare-function pyim-delete-word-at-point "pyim")
-(defvar pyim-wash-function)
 
 (defun pyim-outcome-handle-char (char)
   "Pyim 字符转换函数,主要用于处理标点符号.
@@ -245,8 +244,8 @@ alist 列表。"
      ((and (not (numberp punc-posit-before-1))
            (pyim-string-match-p "\\cc" str-before-1)
            (equal str trigger)
-           (functionp (bound-and-true-p pyim-wash-function)))
-      (funcall pyim-wash-function)
+           (functionp pyim-outcome-trigger-function))
+      (funcall pyim-outcome-trigger-function)
       "")
 
      ;; 关闭标点转换功能时,只插入英文标点。



reply via email to

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