branch: externals/pyim commit c0d5fdfbfa3cc0c6f9a83360dc69108cecf39f49 Author: Feng Shu <tuma...@163.com> Commit: Feng Shu <tuma...@163.com>
* pyim-dregcache.el (pyim-dcache-export-words-and-counts): Added. --- pyim-dregcache.el | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pyim-dregcache.el b/pyim-dregcache.el index 06d7669f26..5ef111ce28 100644 --- a/pyim-dregcache.el +++ b/pyim-dregcache.el @@ -467,6 +467,11 @@ update-icode2word 目前只要是用于更新型码输入法的 code-prefix, 所 (pyim-dcache-write-file file)))) ;; ** 导出 dregcache 相关函数 +(cl-defmethod pyim-dcache-export-words-and-counts + (file &context (pyim-dcache-backend (eql pyim-dregcache)) + &optional confirm) + "TODO") + (cl-defmethod pyim-dcache-export-personal-words (file &context (pyim-dcache-backend (eql pyim-dregcache)) &optional confirm) @@ -505,9 +510,6 @@ update-icode2word 目前只要是用于更新型码输入法的 code-prefix, 所 (insert (format "%s\n" l))))) (setq pyim-dregcache-icode2word (buffer-string)))) -(defun pyim-dregcache-export-words-and-counts () - "TODO" - ) ;; * Footer