[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/pyim e64c0be9e2 20/58: pyim-candidates-jianpin-words ->
From: |
ELPA Syncer |
Subject: |
[elpa] externals/pyim e64c0be9e2 20/58: pyim-candidates-jianpin-words -> pyim-candidates--jianpin-words |
Date: |
Fri, 24 Jun 2022 06:57:53 -0400 (EDT) |
branch: externals/pyim
commit e64c0be9e22d5ceb08d96caf5289b12597cdae33
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>
pyim-candidates-jianpin-words -> pyim-candidates--jianpin-words
---
pyim-candidates.el | 4 ++--
tests/pyim-tests.el | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/pyim-candidates.el b/pyim-candidates.el
index 8053efa3d1..966dea5fbc 100644
--- a/pyim-candidates.el
+++ b/pyim-candidates.el
@@ -152,7 +152,7 @@
(defun pyim-candidates--quanpin (imobjs scheme &optional fast-search)
"用于全拼输入法的 `pyim-candidates-create' 方法内部使用的函数。"
(let* ((znabc-words (pyim-candidates--znabc-words imobjs scheme fast-search))
- (jianpin-words (pyim-candidates-jianpin-words imobjs scheme
fast-search))
+ (jianpin-words (pyim-candidates--jianpin-words imobjs scheme
fast-search))
(quanpin-words (pyim-candidates--quanpin-words imobjs scheme
fast-search))
(personal-words (pyim-candidates--sort (nth 0 quanpin-words)))
(common-words (nth 1 quanpin-words))
@@ -181,7 +181,7 @@
(pyim-zip codes))
fast-search)))
-(defun pyim-candidates-jianpin-words (imobjs scheme &optional fast-search)
+(defun pyim-candidates--jianpin-words (imobjs scheme &optional fast-search)
"获取简拼词语。
假如输入 \"nih\" ,那么搜索 code 为 \"n-h\" 的词条,然后筛选出所
diff --git a/tests/pyim-tests.el b/tests/pyim-tests.el
index d1a08e707f..fe12f5a72c 100644
--- a/tests/pyim-tests.el
+++ b/tests/pyim-tests.el
@@ -571,7 +571,7 @@
(should (equal (pyim-candidates--znabc-words imobjs quanpin t)
'("你好吗朋友" "你好吗" "你好")))))
-(ert-deftest pyim-tests-pyim-candidates-jianpin-words ()
+(ert-deftest pyim-tests-pyim-candidates--jianpin-words ()
(let* ((pyim-dhashcache-code2word (make-hash-table :test #'equal))
(pyim-dhashcache-icode2word (make-hash-table :test #'equal))
(pyim-dhashcache-ishortcode2word (make-hash-table :test #'equal))
@@ -579,9 +579,9 @@
(imobjs1 (pyim-imobjs-create "nih" quanpin))
(imobjs2 (pyim-imobjs-create "ni" quanpin)))
(puthash "n-h" (list "你好" "你坏" "尼耗" "南好" "内核" "内河")
pyim-dhashcache-ishortcode2word)
- (should (equal (pyim-candidates-jianpin-words imobjs1 quanpin)
+ (should (equal (pyim-candidates--jianpin-words imobjs1 quanpin)
'("你好" "你坏" "尼耗")))
- (should-not (pyim-candidates-jianpin-words imobjs2 quanpin))))
+ (should-not (pyim-candidates--jianpin-words imobjs2 quanpin))))
(defun pyim-tests-sublist (list n)
(if (>= (length list) n)
- [elpa] externals/pyim 20d9feea63 13/58: pyim-cstring-substrings* -> pyim-cstring--substrings*, (continued)
- [elpa] externals/pyim 20d9feea63 13/58: pyim-cstring-substrings* -> pyim-cstring--substrings*, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 11a62675d6 17/58: pyim-candidates-sort -> pyim-candidates--sort, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim ba693e4561 18/58: pyim-candidates-quanpin* -> pyim-candidates--quanpin*, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim b8c05f0b7f 25/58: pyim-dcache-value-length -> pyim-dcache--value-length, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim fdd41426a8 29/58: pyim-entered-buffer -> pyim-entered--buffer, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 148137b2ae 32/58: pyim-indicator-last-input-method-title -> pyim-indicator--last-input-method-title, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim e667d71c3e 33/58: pyim-indicator-daemon-function -> pyim-indicator--daemon-function, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 9cef8ad02e 36/58: pyim-indicator-select-color -> pyim-indicator--select-color, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 5a8be7f327 37/58: Sort pyim-indicator.el, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 4f4f3c8098 38/58: pyim-liberime-scheme -> pyim-liberime--scheme, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim e64c0be9e2 20/58: pyim-candidates-jianpin-words -> pyim-candidates--jianpin-words,
ELPA Syncer <=
- [elpa] externals/pyim 9e006e703d 21/58: pyim-candidates-search-buffer -> pyim-candidates--search-buffer, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 4bb3a611cc 24/58: pyim-local-variable-list -> pyim--local-variable-list, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 76f67a8d9c 27/58: pyim-kill-emacs-hook-function -> pyim--kill-emacs-hook-function, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 25a704da4b 28/58: pyim-input-method-1 -> pyim--input-method, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 37812896c5 34/58: pyim-indicator-revert-cursor-color -> pyim-indicator--revert-cursor-color, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 80c81b88cf 48/58: pyim-pinyin-valid-charpy-p -> pyim-pinyin--valid-charpy-p, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 70a2d9a754 51/58: Add pyim-pinyin-valid-shuangpin-p, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 894e4cd5e1 43/58: Remove pyim-pinyin-build-regexp, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 578d096ba9 44/58: pyim-pinyin-shenmu -> pyim-pinyin--shenmu, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim aef2a941f3 05/58: pyim-cregexp-create-beautiful-cregexp-from-string -> pyim-cregexp--create-beautiful-cregexp-from-string, ELPA Syncer, 2022/06/24