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

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

[elpa] externals/pyim 48e904bbe6 42/58: pyim-outcome-magic-convert-cache


From: ELPA Syncer
Subject: [elpa] externals/pyim 48e904bbe6 42/58: pyim-outcome-magic-convert-cache -> pyim-outcome--magic-convert-cache
Date: Fri, 24 Jun 2022 06:57:55 -0400 (EDT)

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

    pyim-outcome-magic-convert-cache -> pyim-outcome--magic-convert-cache
---
 pyim-outcome.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/pyim-outcome.el b/pyim-outcome.el
index cf8f40a18b..5c25d7e5fe 100644
--- a/pyim-outcome.el
+++ b/pyim-outcome.el
@@ -122,7 +122,7 @@ pyim 使用函数 `pyim-process-outcome-handle-char' 来处理特殊功能触发
 (defvar pyim-outcome-subword-info nil
   "在以词定字功能中,用来保存字的位置。")
 
-(defvar pyim-outcome-magic-convert-cache nil
+(defvar pyim-outcome--magic-convert-cache nil
   "用来临时保存 `pyim-outcome-magic-convert' 的结果.
 从而加快同一个字符串第二次的转换速度。")
 
@@ -146,9 +146,9 @@ pyim 使用函数 `pyim-process-outcome-handle-char' 来处理特殊功能触发
 (defun pyim-outcome-magic-convert (str)
   "用于处理 `pyim-outcome-magic-converter' 的函数。"
   (if (functionp pyim-outcome-magic-converter)
-      (or (cdr (assoc str pyim-outcome-magic-convert-cache))
+      (or (cdr (assoc str pyim-outcome--magic-convert-cache))
           (let ((result (funcall pyim-outcome-magic-converter str)))
-            (setq pyim-outcome-magic-convert-cache
+            (setq pyim-outcome--magic-convert-cache
                   `((,str . ,result)))
             result))
     str))



reply via email to

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