[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/pyim bf3626c 05/36: * pyim-common.el (pyim-flatten-list
From: |
ELPA Syncer |
Subject: |
[elpa] externals/pyim bf3626c 05/36: * pyim-common.el (pyim-flatten-list): Move from pyim.el |
Date: |
Thu, 22 Apr 2021 22:57:15 -0400 (EDT) |
branch: externals/pyim
commit bf3626cb781393571d124767565567b23cd6dc2d
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>
* pyim-common.el (pyim-flatten-list): Move from pyim.el
---
pyim-common.el | 7 +++++++
pyim.el | 7 -------
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/pyim-common.el b/pyim-common.el
index a751f34..eba88ba 100644
--- a/pyim-common.el
+++ b/pyim-common.el
@@ -181,6 +181,13 @@ VARIABLE 变量,FORCE-RESTORE 设置为 t 时,强制恢复,变量原来的
(setq one return)
(pyim-permutate-list2-internal one (cdr two)))))
+(defun pyim-flatten-list (my-list)
+ (cond
+ ((null my-list) nil)
+ ((atom my-list) (list my-list))
+ (t (append (pyim-flatten-list (car my-list))
+ (pyim-flatten-list (cdr my-list))))))
+
;; * Footer
(provide 'pyim-common)
diff --git a/pyim.el b/pyim.el
index 3ab09b2..8622146 100644
--- a/pyim.el
+++ b/pyim.el
@@ -3400,13 +3400,6 @@ alist 列表。"
(insert (pyim-punctuation-return-proper-punct punc-list))
(insert (car punc-list))))))
-(defun pyim-flatten-list (my-list)
- (cond
- ((null my-list) nil)
- ((atom my-list) (list my-list))
- (t (append (pyim-flatten-list (car my-list))
- (pyim-flatten-list (cdr my-list))))))
-
(defun pyim-punctuation-translate (&optional punct-style)
"将光标前1个或前后连续成对的n个标点符号进行全角/半角转换.
- [elpa] externals/pyim 8ae9ad9 10/36: New file pyim-cstring.el, (continued)
- [elpa] externals/pyim 8ae9ad9 10/36: New file pyim-cstring.el, ELPA Syncer, 2021/04/22
- [elpa] externals/pyim 678240a 16/36: Add pyim-candidates.el, ELPA Syncer, 2021/04/22
- [elpa] externals/pyim fa9a82a 17/36: pyim-posframe-* -> pyim-page-posframe-*, ELPA Syncer, 2021/04/22
- [elpa] externals/pyim 8023823 15/36: New file: pyim-page.el, ELPA Syncer, 2021/04/22
- [elpa] externals/pyim cfd96c6 20/36: update pyim-candidates.el, ELPA Syncer, 2021/04/22
- [elpa] externals/pyim eafaef3 22/36: update pyim-cstring.el, ELPA Syncer, 2021/04/22
- [elpa] externals/pyim c9cd6bf 27/36: Add pyim-autoselector.el, ELPA Syncer, 2021/04/22
- [elpa] externals/pyim f56d0a6 30/36: Add README.org, ELPA Syncer, 2021/04/22
- [elpa] externals/pyim f26fecc 03/36: New file: pyim-cregexp.el, ELPA Syncer, 2021/04/22
- [elpa] externals/pyim 819f9c6 04/36: Move pyim-permutate-list* to pyim-common.el, ELPA Syncer, 2021/04/22
- [elpa] externals/pyim bf3626c 05/36: * pyim-common.el (pyim-flatten-list): Move from pyim.el,
ELPA Syncer <=
- [elpa] externals/pyim 97fd721 11/36: New file pyim-scheme.el, ELPA Syncer, 2021/04/22
- [elpa] externals/pyim 4e7fe1b 12/36: Add new file: pyim-dcache.el, ELPA Syncer, 2021/04/22
- [elpa] externals/pyim af1bec4 14/36: update pyim-cstring.el, ELPA Syncer, 2021/04/22
- [elpa] externals/pyim 08be340 24/36: pyim-fuzzy-pinyin-alist -> pyim-pinyin-fuzzy-alist, ELPA Syncer, 2021/04/22
- [elpa] externals/pyim de98d10 28/36: pyim-page-select* -> pyim-select*, ELPA Syncer, 2021/04/22
- [elpa] externals/pyim 4a46cac 32/36: dm -> dict-manager, ELPA Syncer, 2021/04/22
- [elpa] externals/pyim 408cbeb 19/36: Add pyim-imobjs-codes, ELPA Syncer, 2021/04/22
- [elpa] externals/pyim 7a876a8f 23/36: update pyim.el, ELPA Syncer, 2021/04/22
- [elpa] externals/pyim 22c905d 33/36: update pyim.el, ELPA Syncer, 2021/04/22
- [elpa] externals/pyim a1ee220 13/36: update pyim-scheme.el, ELPA Syncer, 2021/04/22