emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/pyim 43ed281: * pyim-dregcache.el (pyim-dregcache-upgra


From: ELPA Syncer
Subject: [elpa] externals/pyim 43ed281: * pyim-dregcache.el (pyim-dregcache-upgrade-icode2word): Added.
Date: Tue, 4 May 2021 20:57:10 -0400 (EDT)

branch: externals/pyim
commit 43ed281ad87a2fcf080fbca14426d1d02d4695ad
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>

    * pyim-dregcache.el (pyim-dregcache-upgrade-icode2word): Added.
---
 pyim-dregcache.el | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/pyim-dregcache.el b/pyim-dregcache.el
index 475deb2..16e5319 100644
--- a/pyim-dregcache.el
+++ b/pyim-dregcache.el
@@ -420,6 +420,13 @@ DICT-FILES 是词库文件列表. DICTS-MD5 是词库的MD5校验码.
     (setq pyim-dregcache-icode2word
           (buffer-string))))
 
+(defun pyim-dregcache-upgrade-icode2word ()
+  "升级 icode2word 缓存。
+
+dregcache 只支持全拼和双拼,不能用于五笔之类的型码输入法,而
+update-icode2word 目前只要是用于更新型码输入法的 code-prefix, 所
+以不需要具体实现细节。")
+
 (defun pyim-dregcache-search-word-code-1 (word content)
   (let* ((case-fold-search t)
          (regexp (concat "^\\([a-z-]+\\)\\(.*\\) " "\\(" word " \\|" word 
"$\\)")))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]