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

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

[elpa] externals/pyim 4e349ccfe5: Remove pyim-dict-name-available-p and


From: ELPA Syncer
Subject: [elpa] externals/pyim 4e349ccfe5: Remove pyim-dict-name-available-p and pyim-dict-file-available-p.
Date: Mon, 30 May 2022 17:57:48 -0400 (EDT)

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

    Remove pyim-dict-name-available-p and pyim-dict-file-available-p.
    
            * pyim-dict.el (pyim-dict-name-available-p)
            (pyim-dict-file-available-p): Removed.
    
    搜索了几个常用的 elpa 包,好像这两个函数没什么用处。
---
 pyim-dict.el | 17 -----------------
 1 file changed, 17 deletions(-)

diff --git a/pyim-dict.el b/pyim-dict.el
index be61dee7ca..bd697d2b39 100644
--- a/pyim-dict.el
+++ b/pyim-dict.el
@@ -71,23 +71,6 @@ plist 来表示,比如:
     (message "Add pyim dict %S to `pyim-extra-dicts'." (plist-get new-dict 
:name))
     t))
 
-(defun pyim-dict-name-available-p (dict-name)
-  "查询 `pyim-dicts' 中 `:name' 为 DICT-NAME 的词库信息是否存在。
-这个函数主要用于词库 package。"
-  (cl-some (lambda (x)
-             (let ((name (plist-get x :name)))
-               (equal name dict-name)))
-           pyim-dicts))
-
-(defun pyim-dict-file-available-p (dict-file)
-  "查询 `pyim-dicts' 中 `:file' 为 DICT-FILE 的词库信息是否存在。
-这个函数主要用于词库 package。"
-  (cl-some (lambda (x)
-             (let ((file (plist-get x :file)))
-               (equal (expand-file-name file)
-                      (expand-file-name dict-file))))
-           pyim-dicts))
-
 ;; * Footer
 (provide 'pyim-dict)
 



reply via email to

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