[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/pyim c0798d5e4d 57/58: pyim-pymap-cchar2py-cache -> pyi
From: |
ELPA Syncer |
Subject: |
[elpa] externals/pyim c0798d5e4d 57/58: pyim-pymap-cchar2py-cache -> pyim-pymap--cchar2py-cache |
Date: |
Fri, 24 Jun 2022 06:57:56 -0400 (EDT) |
branch: externals/pyim
commit c0798d5e4db59f3e56915c32e704867b970c4e79
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>
pyim-pymap-cchar2py-cache -> pyim-pymap--cchar2py-cache
---
pyim-pymap.el | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/pyim-pymap.el b/pyim-pymap.el
index eb6ce23105..cfa53d0412 100644
--- a/pyim-pymap.el
+++ b/pyim-pymap.el
@@ -55,7 +55,7 @@
类似: \"a\" -> (\"阿啊呵腌|嗄吖锕||錒\" \"爱 ... 溾\" \"厂广安 ... 菴馣\" \"昂盎 ... 軮䇦\" \"奥澳
... 鴢泑\")")
-(defvar pyim-pymap-cchar2py-cache nil
+(defvar pyim-pymap--cchar2py-cache nil
"汉字转拼音功能需要的变量.
类似: \"艾\" -> (\"yi\" \"ai\")")
@@ -547,7 +547,7 @@
"获取字符或者字符串 CHAR-OR-STR 对应的拼音 code.
pyim 在特定的时候需要读取一个汉字的拼音,这个工作由此完成,函数
-从 `pyim-pymap-cchar2py-cache' 查询得到一个汉字字符的拼音, 例如:
+从 `pyim-pymap--cchar2py-cache' 查询得到一个汉字字符的拼音, 例如:
(pyim-pymap-cchar2py-get ?我)
@@ -559,24 +559,24 @@ pyim 在特定的时候需要读取一个汉字的拼音,这个工作由此完
(char-to-string char-or-str)
char-or-str)))
(when (= (length key) 1)
- (gethash key pyim-pymap-cchar2py-cache))))
+ (gethash key pyim-pymap--cchar2py-cache))))
(defun pyim-pymap-cchar2py-cache-create (&optional force)
"Build pinyin cchar->pinyin hashtable from `pyim-pymap'.
If FORCE is non-nil, FORCE build."
- (when (or force (not pyim-pymap-cchar2py-cache))
- (setq pyim-pymap-cchar2py-cache
+ (when (or force (not pyim-pymap--cchar2py-cache))
+ (setq pyim-pymap--cchar2py-cache
(make-hash-table :size 50000 :test #'equal))
(dolist (x pyim-pymap)
(let ((py (car x))
(cchar-list (string-to-list (car (cdr x)))))
(dolist (cchar cchar-list)
(let* ((key (char-to-string cchar))
- (cache (gethash key pyim-pymap-cchar2py-cache)))
+ (cache (gethash key pyim-pymap--cchar2py-cache)))
(if cache
- (puthash key (append (list py) cache)
pyim-pymap-cchar2py-cache)
- (puthash key (list py) pyim-pymap-cchar2py-cache))))))))
+ (puthash key (append (list py) cache)
pyim-pymap--cchar2py-cache)
+ (puthash key (list py) pyim-pymap--cchar2py-cache))))))))
;; * Footer
(provide 'pyim-pymap)
- [elpa] externals/pyim 76f67a8d9c 27/58: pyim-kill-emacs-hook-function -> pyim--kill-emacs-hook-function, (continued)
- [elpa] externals/pyim 76f67a8d9c 27/58: pyim-kill-emacs-hook-function -> pyim--kill-emacs-hook-function, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 25a704da4b 28/58: pyim-input-method-1 -> pyim--input-method, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 37812896c5 34/58: pyim-indicator-revert-cursor-color -> pyim-indicator--revert-cursor-color, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 80c81b88cf 48/58: pyim-pinyin-valid-charpy-p -> pyim-pinyin--valid-charpy-p, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 70a2d9a754 51/58: Add pyim-pinyin-valid-shuangpin-p, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 894e4cd5e1 43/58: Remove pyim-pinyin-build-regexp, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 578d096ba9 44/58: pyim-pinyin-shenmu -> pyim-pinyin--shenmu, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim aef2a941f3 05/58: pyim-cregexp-create-beautiful-cregexp-from-string -> pyim-cregexp--create-beautiful-cregexp-from-string, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim a86cb9b606 47/58: pyim-pinyin-get-shenmu -> pyim-pinyin--get-shenmu, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim c604b1f4aa 55/58: pyim-pymap-py2cchar-cache2 -> pyim-pymap--py2cchar-cache2, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim c0798d5e4d 57/58: pyim-pymap-cchar2py-cache -> pyim-pymap--cchar2py-cache,
ELPA Syncer <=
- [elpa] externals/pyim c573694ae4 58/58: Update pyim-pymap-utils.el, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim f4074fc4ef 04/58: pyim-cregexp-valid-p -> pyim-cregexp--valid-p, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 291798d23d 09/58: pyim-cregexp-scheme -> pyim-cregexp--scheme, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim b243e7e8e7 15/58: pyim-isearch-search-fun -> pyim-isearch--search-fun, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 56505723bc 16/58: pyim-autoselector-xingma-1 -> pyim-autoselector--xingma, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim ea2988cf16 26/58: pyim-dict-manager-buffer -> pyim-dict-manager--buffer, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 91b1aa37da 11/58: pyim-cregexp-build-xingma-regexp-from-words -> pyim-cregexp--build-xingma-regexp-from-words, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 40ed5dc8a4 10/58: pyim-cregexp-quanpin- -> pyim-cregexp-quanpin--, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 2064692d35 40/58: pyim-liberime-get-code -> pyim-liberime--get-code, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 48e904bbe6 42/58: pyim-outcome-magic-convert-cache -> pyim-outcome--magic-convert-cache, ELPA Syncer, 2022/06/24