branch: externals/pyim commit 2757ccbbd6895f86d634a4ce6148eb2c7bb699fd Author: Feng Shu <tuma...@163.com> Commit: Feng Shu <tuma...@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 " "))))))