[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/pyim 1fe1183 2/2: * pyim-dhashcache.el (pyim-dhashcache
From: |
ELPA Syncer |
Subject: |
[elpa] externals/pyim 1fe1183 2/2: * pyim-dhashcache.el (pyim-dhashcache-update-code2word): pyim-dcache-init-variable -> pyim-dcache-update-variable |
Date: |
Tue, 14 Dec 2021 11:57:25 -0500 (EST) |
branch: externals/pyim
commit 1fe11832c5591bcb9a970336a737ea794d109d72
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>
* pyim-dhashcache.el (pyim-dhashcache-update-code2word):
pyim-dcache-init-variable -> pyim-dcache-update-variable
---
pyim-dhashcache.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pyim-dhashcache.el b/pyim-dhashcache.el
index c564906..73494f5 100644
--- a/pyim-dhashcache.el
+++ b/pyim-dhashcache.el
@@ -274,8 +274,8 @@ DCACHE 是一个 code -> words 的 hashtable.
(pyim-dhashcache-generate-word2code-dcache-file dcache
,word2code-file))
(pyim-dcache-save-value-to-file ',dicts-md5 ,code2word-md5-file))
(lambda (_)
- (pyim-dcache-init-variable 'pyim-dhashcache-code2word t)
- (pyim-dcache-init-variable 'pyim-dhashcache-word2code t)
+ (pyim-dcache-update-variable 'pyim-dhashcache-code2word)
+ (pyim-dcache-update-variable 'pyim-dhashcache-word2code)
(pyim-dhashcache-update-shortcode2word force)
(setq pyim-dhashcache-update-code2word-running-p nil))))))