[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/pyim c77e20e 2/3: * pyim.el (pyim-cregexp-build): Updat
From: |
ELPA Syncer |
Subject: |
[elpa] externals/pyim c77e20e 2/3: * pyim.el (pyim-cregexp-build): Update comment. |
Date: |
Tue, 9 Mar 2021 19:57:10 -0500 (EST) |
branch: externals/pyim
commit c77e20e393374e919af8a7eebe0bc072c4359ec2
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>
* pyim.el (pyim-cregexp-build): Update comment.
---
pyim.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/pyim.el b/pyim.el
index 664bbb0..fb97ca9 100644
--- a/pyim.el
+++ b/pyim.el
@@ -3838,7 +3838,8 @@ PUNCT-LIST 格式类似:
(defun pyim-cregexp-build (string)
"根据 STRING 构建一个中文 regexp, 用于 \"拼音搜索汉字\".
比如:\"nihao\" -> \"[你呢...][好号...] \\| nihao\""
- ;; FIXME: (rx-to-string "") => "\\(?:\\)"
+ ;; NOTE: (rx-to-string "") will return "\\(?:\\)",
+ ;; While I want (pyim-cregexp-build "") return just "".
(if (equal string "")
string
(or (ignore-errors