[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/pyim 58c5e3c 1/3: * pyim-pymap.el (pyim-pymap-add-commo
From: |
ELPA Syncer |
Subject: |
[elpa] externals/pyim 58c5e3c 1/3: * pyim-pymap.el (pyim-pymap-add-commonly-used-sep): Simplify. |
Date: |
Fri, 12 Mar 2021 23:57:14 -0500 (EST) |
branch: externals/pyim
commit 58c5e3ce0498c7e14a1b18a6bce3ab73ca6c6f07
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>
* pyim-pymap.el (pyim-pymap-add-commonly-used-sep): Simplify.
---
pyim-pymap.el | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/pyim-pymap.el b/pyim-pymap.el
index 6ad4660..0395e99 100644
--- a/pyim-pymap.el
+++ b/pyim-pymap.el
@@ -776,8 +776,7 @@
(defun pyim-pymap-add-commonly-used-sep (string)
"在 STRING 中添加一个 |, 用来分割常用字和不常用字。"
(let ((chars (reverse (string-to-list string)))
- (add-sep nil)
- output)
+ add-sep output)
(while chars
(let ((char (char-to-string (pop chars))))
(when (and (not add-sep)