branch: externals/pyim commit b28653f340bec21b275ad8e00476c0aaef7f20d4 Author: Feng Shu <tuma...@163.com> Commit: Feng Shu <tuma...@163.com>
Fix: can not toggle punct width with trigger. --- pyim-process.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyim-process.el b/pyim-process.el index e4819e7932..43e39ce23c 100644 --- a/pyim-process.el +++ b/pyim-process.el @@ -884,9 +884,6 @@ BUG:拼音无法有效地处理多音字。" (message "PYIM: 运行 `pyim-outcome-trigger-function' 函数。") "") - ((pyim-process--punctuation-half-width-p char) - str) - ((pyim-process--translate-punctuation-to-full-width-p char) (pyim-punctuation-translate 'full-width) "") @@ -895,6 +892,9 @@ BUG:拼音无法有效地处理多音字。" (pyim-punctuation-translate 'half-width) "") + ((pyim-process--punctuation-half-width-p char) + str) + ((pyim-punctuation-p char) (pyim-punctuation-return-proper-punct char))