[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/pyim be487264bc 07/35: pyim-dhashcache-upgrade* -> pyim
From: |
ELPA Syncer |
Subject: |
[elpa] externals/pyim be487264bc 07/35: pyim-dhashcache-upgrade* -> pyim-dhashcache--upgrade* |
Date: |
Fri, 24 Jun 2022 08:58:06 -0400 (EDT) |
branch: externals/pyim
commit be487264bc7bf03317ab396272121eeeb9aa968d
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>
pyim-dhashcache-upgrade* -> pyim-dhashcache--upgrade*
---
pyim-dhashcache.el | 8 ++++----
tests/pyim-tests.el | 8 ++++----
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/pyim-dhashcache.el b/pyim-dhashcache.el
index 4a5b949ed5..23361d308e 100644
--- a/pyim-dhashcache.el
+++ b/pyim-dhashcache.el
@@ -642,12 +642,12 @@ pyim 使用的词库文件是简单的文本文件,编码 *强制* 为 \\='utf
当前已有的功能:
1. 基于 :code-prefix-history 信息,升级为新的 code-prefix。"
- (pyim-dhashcache-upgrade-icode2word
+ (pyim-dhashcache--upgrade-icode2word
(yes-or-no-p "Delete old key after upgrade? ")))
-(defun pyim-dhashcache-upgrade-icode2word (&optional delete-old-key)
+(defun pyim-dhashcache--upgrade-icode2word (&optional delete-old-key)
"升级 icode2word 缓存。"
- (dolist (ruler (pyim-dhashcache-upgrade-icode2word-rulers))
+ (dolist (ruler (pyim-dhashcache--upgrade-icode2word-rulers))
(let ((old-prefix-list (car ruler))
(new-prefix (cdr ruler)))
(dolist (old-prefix old-prefix-list)
@@ -667,7 +667,7 @@ pyim 使用的词库文件是简单的文本文件,编码 *强制* 为 \\='utf
(message "PYIM: No need to upgrade in
`pyim-dhashcache-icode2word'.")))
pyim-dhashcache-icode2word)))))
-(defun pyim-dhashcache-upgrade-icode2word-rulers ()
+(defun pyim-dhashcache--upgrade-icode2word-rulers ()
"返回 icode2word 升级规则。
类似: (((\".\") . \"wubi/\") ((\"@\") . \"cangjie/\"))."
diff --git a/tests/pyim-tests.el b/tests/pyim-tests.el
index 9975705df0..ba7515be4e 100644
--- a/tests/pyim-tests.el
+++ b/tests/pyim-tests.el
@@ -1431,20 +1431,20 @@ yin-xing 因行
'((day 3 7 6 4 5 9 1)))
'(69))))
-(ert-deftest pyim-tests-pyim-dhashcache-upgrade-icode2word ()
- (should (equal (pyim-dhashcache-upgrade-icode2word-rulers)
+(ert-deftest pyim-tests-pyim-dhashcache--upgrade-icode2word ()
+ (should (equal (pyim-dhashcache--upgrade-icode2word-rulers)
'(((".") . "wubi/") (("@") . "cangjie/"))))
(let ((pyim-dhashcache-icode2word (make-hash-table :test #'equal)))
(puthash ".aaaa" '("工") pyim-dhashcache-icode2word)
(puthash "wubi/aaaa" '("㠭" "工") pyim-dhashcache-icode2word)
- (pyim-dhashcache-upgrade-icode2word t)
+ (pyim-dhashcache--upgrade-icode2word t)
(should-not (gethash ".aaaa" pyim-dhashcache-icode2word))
(should (equal (gethash "wubi/aaaa" pyim-dhashcache-icode2word)
'("㠭" "工"))))
(let ((pyim-dhashcache-icode2word (make-hash-table :test #'equal)))
(puthash ".aaaa" '("工") pyim-dhashcache-icode2word)
(puthash "wubi/aaaa" '("㠭" "工") pyim-dhashcache-icode2word)
- (pyim-dhashcache-upgrade-icode2word)
+ (pyim-dhashcache--upgrade-icode2word)
(should (equal (gethash ".aaaa" pyim-dhashcache-icode2word)
'("工")))
(should (equal (gethash "wubi/aaaa" pyim-dhashcache-icode2word)
- [elpa] externals/pyim updated (c573694ae4 -> f073ba0fb8), ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 2e687c443b 12/35: pyim-dhashcache-async* -> pyim-dhashcache--async*, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim be487264bc 07/35: pyim-dhashcache-upgrade* -> pyim-dhashcache--upgrade*,
ELPA Syncer <=
- [elpa] externals/pyim 80fdf32548 14/35: pyim-dhashcache-generate* -> pyim-dhashcache--generate*, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 2473b5be9b 24/35: pyim-process-candidate-position -> pyim-process--candidate-position, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 43b09cfcac 26/35: pyim-process-input-chinese-predicate-1 -> pyim-process--input-chinese-predicate-1, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 2c04245442 05/35: pyim-preview-start-point -> pyim-preview--start-point, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim fea5fe56e3 06/35: pyim-dhashcache-update* -> pyim-dhashcache--update*, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 4a3a27fe54 09/35: pyim-dhashcache-put -> pyim-dhashcache--put, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 8f195d4efe 19/35: pyim-dregcache- -> pyim-dregcache--, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 93e54a0783 23/35: pyim-process-candidates-last -> pyim-process--candidates-last, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim e264cbe5f5 02/35: pyim-preview-delete-overlay -> pyim-preview--delete-overlay, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 3454118ea9 08/35: pyim-dhashcache-init* -> pyim-dhashcache--init*, ELPA Syncer, 2022/06/24