[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/pyim 2129f8c8dd 2/3: * pyim-dhashcache.el (pyim-dhashca
From: |
ELPA Syncer |
Subject: |
[elpa] externals/pyim 2129f8c8dd 2/3: * pyim-dhashcache.el (pyim-dhashcache-update): Prefer use pyim-dhashcache functions. |
Date: |
Thu, 21 Apr 2022 22:57:42 -0400 (EDT) |
branch: externals/pyim
commit 2129f8c8ddd83e058575b6817e86c33c7f8988f5
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>
* pyim-dhashcache.el (pyim-dhashcache-update): Prefer use pyim-dhashcache
functions.
---
pyim-dhashcache.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/pyim-dhashcache.el b/pyim-dhashcache.el
index 1b3a3bd1f3..a7be424a24 100644
--- a/pyim-dhashcache.el
+++ b/pyim-dhashcache.el
@@ -84,16 +84,16 @@
"读取并加载所有相关词库 dcache.
如果 FORCE 为真,强制加载。"
- (pyim-dcache-init-variables)
+ (pyim-dhashcache-init-variables)
(when pyim-dcache-auto-update
- (pyim-dcache-call-api 'update-iword2priority force)
- (pyim-dcache-call-api 'update-personal-words force)
+ (pyim-dhashcache-update-iword2priority force)
+ (pyim-dhashcache-update-personal-words force)
(let* ((dict-files (mapcar (lambda (x)
(unless (plist-get x :disable)
(plist-get x :file)))
`(,@pyim-dicts ,@pyim-extra-dicts)))
(dicts-md5 (pyim-dcache-create-files-md5 dict-files)))
- (pyim-dcache-call-api 'update-code2word dict-files dicts-md5 force))))
+ (pyim-dhashcache-update-code2word dict-files dicts-md5 force))))
(defun pyim-dhashcache-sort-words (words-list)
"对 WORDS-LIST 排序"