[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/pyim 03253ba 2/5: * pyim-cstring.el (pyim-cstring-spli
From: |
ELPA Syncer |
Subject: |
[elpa] externals/pyim 03253ba 2/5: * pyim-cstring.el (pyim-cstring-split-to-string): 稍微优化。 |
Date: |
Wed, 8 Dec 2021 00:57:31 -0500 (EST) |
branch: externals/pyim
commit 03253ba9d54584a22be3c907469774dbcd3ade60
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>
* pyim-cstring.el (pyim-cstring-split-to-string): 稍微优化。
---
pyim-cstring.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pyim-cstring.el b/pyim-cstring.el
index 6582ac1..39847d1 100644
--- a/pyim-cstring.el
+++ b/pyim-cstring.el
@@ -150,8 +150,8 @@ CHINESE-STRING 分词,得到一个词条 alist,这个 alist 的元素都是
(if (not (pyim-string-match-p "\\CC" str))
(pyim-cstring-split-to-string-1
str prefer-short-word separator max-word-length)
- (concat " " str " "))))
- (pyim-cstring-partition string) ""))
+ str)))
+ (pyim-cstring-partition string) (or separator " ")))
(defun pyim-cstring-split-to-string-1 (chinese-string &optional
prefer-short-word
separator
max-word-length)
- [elpa] externals/pyim updated (6f23551 -> 976f7f4), ELPA Syncer, 2021/12/08
- [elpa] externals/pyim 46f03c9 3/5: Add tests, ELPA Syncer, 2021/12/08
- [elpa] externals/pyim 976f7f4 5/5: 添加 pyim-flatten-tree, 旧版本的 Emacs 没有 flatten-tree., ELPA Syncer, 2021/12/08
- [elpa] externals/pyim 41b5eb2 1/5: * pyim-cstring.el (pyim-cstring-split-to-string-1): 修复插入分割符位置不对的问题。, ELPA Syncer, 2021/12/08
- [elpa] externals/pyim 03253ba 2/5: * pyim-cstring.el (pyim-cstring-split-to-string): 稍微优化。,
ELPA Syncer <=
- [elpa] externals/pyim 50c4793 4/5: Fix test, ELPA Syncer, 2021/12/08