[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/pyim cfd96c6 20/36: update pyim-candidates.el
From: |
ELPA Syncer |
Subject: |
[elpa] externals/pyim cfd96c6 20/36: update pyim-candidates.el |
Date: |
Thu, 22 Apr 2021 22:57:18 -0400 (EDT) |
branch: externals/pyim
commit cfd96c675d72254ce944dfc35306b1bac53d5572
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>
update pyim-candidates.el
---
pyim-candidates.el | 10 ++++++++++
pyim.el | 11 -----------
2 files changed, 10 insertions(+), 11 deletions(-)
diff --git a/pyim-candidates.el b/pyim-candidates.el
index 0841d4a..191c189 100644
--- a/pyim-candidates.el
+++ b/pyim-candidates.el
@@ -197,6 +197,16 @@ IMOBJS 获得候选词条。"
"`pyim-candidates-create' 处理双拼输入法的函数."
(pyim-candidates-create:quanpin imobjs 'quanpin async))
+(defun pyim-candidate-parse (candidate)
+ (let ((output
+ (if (consp candidate)
+ (car candidate)
+ candidate)))
+ (if (stringp output)
+ ;; 注:五笔支持 comments 遗留下来的代码,现在作为兼容而保留,
+ ;; 等用户的 dcache 都升级之后,这个就可以删除了。
+ (car (split-string output ":"))
+ output)))
;; * Footer
(provide 'pyim-candidates)
diff --git a/pyim.el b/pyim.el
index 340e895..338d33f 100644
--- a/pyim.el
+++ b/pyim.el
@@ -1440,17 +1440,6 @@ pyim 会使用 Emacs overlay 机制在 *待输入buffer* 光标处高亮显示
(overlay-end pyim-preview-overlay))))
;; ** 选词框相关函数
-(defun pyim-candidate-parse (candidate)
- (let ((output
- (if (consp candidate)
- (car candidate)
- candidate)))
- (if (stringp output)
- ;; 注:五笔支持 comments 遗留下来的代码,现在作为兼容而保留,
- ;; 等用户的 dcache 都升级之后,这个就可以删除了。
- (car (split-string output ":"))
- output)))
-
(defun pyim-outcome-get (&optional n)
"获取 outcome"
(nth (or n 0) pyim-outcome-history))
- [elpa] externals/pyim f744469 01/36: Move code to pyim-pymap.el, (continued)
- [elpa] externals/pyim f744469 01/36: Move code to pyim-pymap.el, ELPA Syncer, 2021/04/22
- [elpa] externals/pyim 900071a 02/36: Add pyim-pinyin.el, ELPA Syncer, 2021/04/22
- [elpa] externals/pyim c13c2a6 06/36: Move code to pyim-common.el, ELPA Syncer, 2021/04/22
- [elpa] externals/pyim 09fd273 07/36: Sort pyim-common.el, ELPA Syncer, 2021/04/22
- [elpa] externals/pyim 6dfe546 08/36: New pyim-punctuation.el file., ELPA Syncer, 2021/04/22
- [elpa] externals/pyim 6cc63e8 09/36: New file: pyim-dict.el, ELPA Syncer, 2021/04/22
- [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 <=
- [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, 2021/04/22
- [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