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

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

[elpa] externals/pyim 3dd17d7 5/6: * pyim-dcache.el (pyim-dcache-upgrade


From: ELPA Syncer
Subject: [elpa] externals/pyim 3dd17d7 5/6: * pyim-dcache.el (pyim-dcache-upgrade): Rename from pyim-dcache-upgrade-icode2word.
Date: Tue, 14 Dec 2021 00:57:31 -0500 (EST)

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

    * pyim-dcache.el (pyim-dcache-upgrade): Rename from 
pyim-dcache-upgrade-icode2word.
---
 README.org     | 2 +-
 pyim-dcache.el | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/README.org b/README.org
index 4fd795a..ef3e9e5 100644
--- a/README.org
+++ b/README.org
@@ -25,7 +25,7 @@ code-prefix.
 1. 五笔用户
    1. 需要 (require 'pyim-wbdict), 加载五笔 scheme 设置。
    2. 需要将自己的五笔词库文件中的 code-prefix "." 替换为 "wubi/".
-   3. 运行 `pyim-dcache-upgrade-icode2word' 命令,升级 icode2word 词库缓存。
+   3. 运行 `pyim-dcache-upgrade' 命令,升级 icode2word 词库缓存。
 2. 仓颉用户
    1. 需要 (require 'pyim-cangjie5dict), 加载仓颉 scheme 设置。
    2. 需要将自己的五笔词库文件中的 code-prefix "@" 替换为 "cangjie/".
diff --git a/pyim-dcache.el b/pyim-dcache.el
index f4ab8dd..4223664 100644
--- a/pyim-dcache.el
+++ b/pyim-dcache.el
@@ -241,11 +241,11 @@ non-nil,文件存在时将会提示用户是否覆盖,默认为覆盖模式"
   (pyim-dcache-call-api 'insert-word-into-ishortcode2word word code prepend))
 
 ;; ** Dcache 升级功能
-(defun pyim-dcache-upgrade-icode2word ()
-  "升级个人词库缓存.
+(defun pyim-dcache-upgrade ()
+  "升级词库缓存.
 
-主要是将个人词库中旧的 code-prefix 升级为新的 code-prefix. 用到
-scheme 中的 :code-prefix-history 信息。"
+当前已有的功能:
+1. 基于 :code-prefix-history 信息,升级为新的 code-prefix。"
   (interactive)
   (pyim-dcache-call-api 'upgrade-icode2word))
 



reply via email to

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