emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/pyim aef2a941f3 05/58: pyim-cregexp-create-beautiful-cr


From: ELPA Syncer
Subject: [elpa] externals/pyim aef2a941f3 05/58: pyim-cregexp-create-beautiful-cregexp-from-string -> pyim-cregexp--create-beautiful-cregexp-from-string
Date: Fri, 24 Jun 2022 06:57:52 -0400 (EDT)

branch: externals/pyim
commit aef2a941f3c44b58d5d081201d53933369e4d46e
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>

    pyim-cregexp-create-beautiful-cregexp-from-string -> 
pyim-cregexp--create-beautiful-cregexp-from-string
---
 pyim-cregexp.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pyim-cregexp.el b/pyim-cregexp.el
index ec3c9869eb..cf3ffcbacc 100644
--- a/pyim-cregexp.el
+++ b/pyim-cregexp.el
@@ -108,7 +108,7 @@ regexp, 所以搜索单字的时候一般可以搜到生僻字,但搜索句子
         rx-string)
     (while (not (pyim-cregexp--valid-p rx-string))
       (setq rx-string
-            (pyim-cregexp-create-beautiful-cregexp-from-string
+            (pyim-cregexp--create-beautiful-cregexp-from-string
              string scheme char-level-num chinese-only))
       (setq char-level-num (1- char-level-num)))
     rx-string))
@@ -128,7 +128,7 @@ regexp, 所以搜索单字的时候一般可以搜到生僻字,但搜索句子
          ;; FIXME: Emacs can't handle regexps whose length is too big :-(
          (error nil))))
 
-(defun pyim-cregexp-create-beautiful-cregexp-from-string
+(defun pyim-cregexp--create-beautiful-cregexp-from-string
     (string scheme &optional char-level-num chinese-only)
   "使用 rx 和 xr, 从 STRING 生成一个漂亮的搜索中文的 regexp.
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]