[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/pyim 2aa48479b4 14/41: pyim-candidates-create-get-pymap
From: |
ELPA Syncer |
Subject: |
[elpa] externals/pyim 2aa48479b4 14/41: pyim-candidates-create-get-pymap-chars -> pyim-candidates-pymap-chars |
Date: |
Sat, 4 Jun 2022 09:57:46 -0400 (EDT) |
branch: externals/pyim
commit 2aa48479b4ec81fd32156070e29aea57e8b6ccff
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>
pyim-candidates-create-get-pymap-chars -> pyim-candidates-pymap-chars
---
pyim-candidates.el | 4 ++--
tests/pyim-tests.el | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/pyim-candidates.el b/pyim-candidates.el
index 79de531b4b..d226e9118c 100644
--- a/pyim-candidates.el
+++ b/pyim-candidates.el
@@ -268,7 +268,7 @@
;; `pyim-pymap-py2cchar-get' 来查找,这个函数支持声母搜索。可以得到
;; 更多的词条。
(w4 (when (and (not w3) (not ignore-pymap-chars))
- (pyim-candidates-create-get-pymap-chars
+ (pyim-candidates-pymap-chars
(car (pyim-codes-create imobj scheme))))))
(push w1 personal-words)
(push w2 common-words)
@@ -280,7 +280,7 @@
(setq pinyin-chars-2 (pyim-zip (nreverse pinyin-chars-2) fast-search))
(list personal-words common-words pinyin-chars-1 pinyin-chars-2)))
-(defun pyim-candidates-create-get-pymap-chars (pinyin)
+(defun pyim-candidates-pymap-chars (pinyin)
"获取 pymap 表里面的汉字。"
(mapcar #'char-to-string
(pyim-zip
diff --git a/tests/pyim-tests.el b/tests/pyim-tests.el
index 384be5dbed..3a90c477b8 100644
--- a/tests/pyim-tests.el
+++ b/tests/pyim-tests.el
@@ -559,8 +559,8 @@
(should (equal (pyim-candidates-dcache-words imobjs3 quanpin nil t)
'(("你" "尼") ("你" "尼") ("你" "尼" "你" "尼") nil)))))
-(ert-deftest pyim-tests-pyim-candidates-create-get-pymap-chars ()
- (should (equal (cl-subseq (pyim-candidates-create-get-pymap-chars "ni") 0 10)
+(ert-deftest pyim-tests-pyim-candidates-pymap-chars ()
+ (should (equal (cl-subseq (pyim-candidates-pymap-chars "ni") 0 10)
'("你" "年" "娘" "鸟" "摄" "您" "宁" "牛" "尼" "念"))))
(ert-deftest pyim-tests-pyim-candidates-search-buffer ()
- [elpa] externals/pyim 6ce5f49b8f 01/41: Big refactor: use cl-defstruct and cl-defgeneric., (continued)
- [elpa] externals/pyim 6ce5f49b8f 01/41: Big refactor: use cl-defstruct and cl-defgeneric., ELPA Syncer, 2022/06/04
- [elpa] externals/pyim f5300086fd 02/41: * tests/pyim-tests.el (pyim-tests-pyim-candidates-get-chief): New test., ELPA Syncer, 2022/06/04
- [elpa] externals/pyim f536e5ede3 06/41: Fix warns., ELPA Syncer, 2022/06/04
- [elpa] externals/pyim 33a0f5a9b7 09/41: Add pyim-candidates-create-like-jianpin, ELPA Syncer, 2022/06/04
- [elpa] externals/pyim b6b46a4e36 22/41: * pyim-candidates.el (pyim-candidates-create): Remove method of shuangpin., ELPA Syncer, 2022/06/04
- [elpa] externals/pyim b3868caa80 29/41: Add pyim-probe tests, ELPA Syncer, 2022/06/04
- [elpa] externals/pyim 951013539c 33/41: Add progress to commentary, ELPA Syncer, 2022/06/04
- [elpa] externals/pyim f4cc14ac64 32/41: Fix pyim-test.el, ELPA Syncer, 2022/06/04
- [elpa] externals/pyim 1b767c669e 40/41: * pyim-probe.el (pyim-probe-org-speed-commands): Updated., ELPA Syncer, 2022/06/04
- [elpa] externals/pyim 6ef8630475 11/41: pyim-candidates-create-like-znabc -> pyim-candidates-znabc-words, ELPA Syncer, 2022/06/04
- [elpa] externals/pyim 2aa48479b4 14/41: pyim-candidates-create-get-pymap-chars -> pyim-candidates-pymap-chars,
ELPA Syncer <=
- [elpa] externals/pyim 016064e7fc 16/41: Update docstring., ELPA Syncer, 2022/06/04
- [elpa] externals/pyim 1330b436a6 27/41: Refactor pyim-page.el, ELPA Syncer, 2022/06/04
- [elpa] externals/pyim 302f1bff4b 34/41: Refactor pyim-preview.el, ELPA Syncer, 2022/06/04
- [elpa] externals/pyim 987087e515 15/41: Update pyim-candidates-create-quanpin., ELPA Syncer, 2022/06/04
- [elpa] externals/pyim 35bf05ce3e 19/41: pyim-scheme-common -> pyim-scheme, ELPA Syncer, 2022/06/04
- [elpa] externals/pyim fa9f9f4244 24/41: Update pyim-candidates-dcache-words., ELPA Syncer, 2022/06/04
- [elpa] externals/pyim aaa5f728f9 25/41: Fix compile warn., ELPA Syncer, 2022/06/04
- [elpa] externals/pyim 29a112182a 28/41: Refactor pyim-candidates.el, ELPA Syncer, 2022/06/04
- [elpa] externals/pyim c4d73f836d 13/41: pyim-candidates-create-get-dcache-words -> pyim-candidates-dcache-words, ELPA Syncer, 2022/06/04
- [elpa] externals/pyim 3e53c5e923 20/41: pyim-candidates-create-quanpin -> pyim-candidates-quanpin, ELPA Syncer, 2022/06/04