branch: externals/pyim
commit 556718aef9ef3ce27a87c50055614b346ec6baff
Author: Feng Shu <tuma...@163.com>
Commit: Feng Shu <tuma...@163.com>

    * pyim.el (pyim-cregexp-ivy): Add comment.
---
 pyim.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/pyim.el b/pyim.el
index 30efc747fe..6788fd571e 100644
--- a/pyim.el
+++ b/pyim.el
@@ -878,6 +878,9 @@ FILE 的格式与 `pyim-dcache-export' 生成的文件格式相同,
 
 (declare-function ivy--regex-plus "ivy")
 
+;; pyim-cregexp.el 是核心库,为保持稳定,不能添加太多的依赖,所以我把这个函数从
+;; pyim-cregexp.el 移到这里,也许我应该更改一下这个函数的名称,让其不使用
+;; pyim-cregexp 前缀,但由于向后兼容的原因,我决定再观察观察。
 (defun pyim-cregexp-ivy (str)
   "Let ivy support search Chinese with pinyin feature."
   (let ((x (ivy--regex-plus str))

Reply via email to