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

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

[elpa] externals/pyim 4b8bf15 4/6: pyim-dcache-update-iword2count -> pyi


From: ELPA Syncer
Subject: [elpa] externals/pyim 4b8bf15 4/6: pyim-dcache-update-iword2count -> pyim-dcache-update-wordcount
Date: Tue, 14 Dec 2021 00:57:31 -0500 (EST)

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

    pyim-dcache-update-iword2count -> pyim-dcache-update-wordcount
    
        * pyim-dcache.el (pyim-dcache-update-wordcount): Rename from 
pyim-dcache-update-iword2count.
    
        * pyim-process.el (pyim-process-create-word): use 
pyim-dcache-update-wordcount.
---
 pyim-dcache.el  | 2 +-
 pyim-process.el | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/pyim-dcache.el b/pyim-dcache.el
index 0165042..f4ab8dd 100644
--- a/pyim-dcache.el
+++ b/pyim-dcache.el
@@ -223,7 +223,7 @@ non-nil,文件存在时将会提示用户是否覆盖,默认为覆盖模式"
                                   dict-files)))))
     dicts-md5))
 
-(defun pyim-dcache-update-iword2count (word &optional prepend 
wordcount-handler)
+(defun pyim-dcache-update-wordcount (word &optional prepend wordcount-handler)
   "保存词频到缓存."
   (pyim-dcache-call-api 'update-iword2count word prepend wordcount-handler))
 
diff --git a/pyim-process.el b/pyim-process.el
index 1d3a601..f793118 100644
--- a/pyim-process.el
+++ b/pyim-process.el
@@ -557,7 +557,7 @@ BUG:拼音无法有效地处理多音字。"
                    (or criteria pyim-cstring-to-code-criteria))))
       ;; 保存对应词条的词频
       (when (> (length word) 0)
-        (pyim-dcache-update-iword2count word prepend wordcount-handler))
+        (pyim-dcache-update-wordcount word prepend wordcount-handler))
       ;; 添加词条到个人缓存
       (dolist (code codes)
         (unless (pyim-string-match-p "[^ a-z-]" code)



reply via email to

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