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

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

[elpa] externals/pyim 578d096ba9 44/58: pyim-pinyin-shenmu -> pyim-pinyi


From: ELPA Syncer
Subject: [elpa] externals/pyim 578d096ba9 44/58: pyim-pinyin-shenmu -> pyim-pinyin--shenmu
Date: Fri, 24 Jun 2022 06:57:55 -0400 (EDT)

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

    pyim-pinyin-shenmu -> pyim-pinyin--shenmu
---
 pyim-pinyin.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/pyim-pinyin.el b/pyim-pinyin.el
index c313ebd463..c107caaad3 100644
--- a/pyim-pinyin.el
+++ b/pyim-pinyin.el
@@ -34,7 +34,7 @@
   "Pinyin libs for pyim."
   :group 'pyim)
 
-(defvar pyim-pinyin-shenmu
+(defvar pyim-pinyin--shenmu
   '("b" "p" "m" "f" "d" "t" "n" "l" "g" "k" "h"
     "j" "q" "x" "z" "c" "s" "zh" "ch" "sh" "r" "y" "w"))
 
@@ -82,7 +82,7 @@
         shenmu)
     (while (> i 0)
       (setq shenmu (substring pinyin 0 i))
-      (if (member shenmu pyim-pinyin-shenmu)
+      (if (member shenmu pyim-pinyin--shenmu)
           (setq i 0)
         (setq i (1- i))
         (setq shenmu "")))
@@ -120,7 +120,7 @@
                       ;; 截取后剩余的字符串 rest 找不出声母
                       (equal (car (pyim-pinyin-get-shenmu rest)) "")
                       ;; 截取后的韵母最后一个字符是一个有效声母
-                      (member (substring yunmu -1) pyim-pinyin-shenmu)
+                      (member (substring yunmu -1) pyim-pinyin--shenmu)
                       ;; 截取得到的韵母如果去掉最后一个字符,还是有效的韵母
                       (member (substring yunmu 0 -1) pyim-pinyin-yunmu))
                  (if (not (pyim-pinyin-valid-charpy-p shenmu (substring yunmu 
0 -1)))



reply via email to

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