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

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

[elpa] externals/pyim 2757ccbbd6 6/7: Remove pinyins-list-adjusted again


From: ELPA Syncer
Subject: [elpa] externals/pyim 2757ccbbd6 6/7: Remove pinyins-list-adjusted again
Date: Fri, 13 Jan 2023 23:58:04 -0500 (EST)

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

    Remove pinyins-list-adjusted again
---
 pyim-cstring.el | 21 +++++++++------------
 1 file changed, 9 insertions(+), 12 deletions(-)

diff --git a/pyim-cstring.el b/pyim-cstring.el
index d08e7029e4..527ba62932 100644
--- a/pyim-cstring.el
+++ b/pyim-cstring.el
@@ -129,18 +129,15 @@ BUG: 当 STRING 中包含其它标点符号,并且设置 SEPERATER 时,结
               string pinyins-list)))
 
       ;; 返回拼音字符串或者拼音列表
-      (let* ((pinyins-list
-              (or pinyins-list-adjusted
-                  pinyins-list))
-             (list (mapcar (lambda (x)
-                             (mapconcat (lambda (str)
-                                          (if shou-zi-mu
-                                              (substring str 0 1)
-                                            str))
-                                        x separator))
-                           (if ignore-duo-yin-zi
-                               (list (car pinyins-list))
-                             pinyins-list))))
+      (let ((list (mapcar (lambda (x)
+                            (mapconcat (lambda (str)
+                                         (if shou-zi-mu
+                                             (substring str 0 1)
+                                           str))
+                                       x separator))
+                          (if ignore-duo-yin-zi
+                              (list (car pinyins-list))
+                            pinyins-list))))
         (if return-list
             list
           (string-join list " "))))))



reply via email to

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