[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/pyim 237f60a 2/2: * pyim-outcome.el (pyim-outcome-trigg
From: |
ELPA Syncer |
Subject: |
[elpa] externals/pyim 237f60a 2/2: * pyim-outcome.el (pyim-outcome-trigger-function-default): Improve code. |
Date: |
Mon, 26 Apr 2021 04:57:15 -0400 (EDT) |
branch: externals/pyim
commit 237f60a78c436040a7e2ae5bfb8a0bf4f7673c7a
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>
* pyim-outcome.el (pyim-outcome-trigger-function-default): Improve code.
---
pyim-outcome.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pyim-outcome.el b/pyim-outcome.el
index 019098e..dd0f970 100644
--- a/pyim-outcome.el
+++ b/pyim-outcome.el
@@ -319,9 +319,9 @@ alist 列表。"
;; 英文与中文标点之间的空格
("\\([[:ascii:]]\\) *\\([(【]\\)" . "")
;; 英文与汉字之间的空格
- ("\\([[:ascii:]]\\) *\\(\\cc\\)" . ,sep)
+ ("\\([a-zA-Z]\\) *\\(\\cc\\)" . ,sep)
;; 汉字与英文之间的空格
- ("\\(\\cc\\) *\\([[:ascii:]]\\)" . ,sep)
+ ("\\(\\cc\\) *\\([a-zA-Z]\\)" . ,sep)
;; 汉字与汉字之间的空格
("\\(\\cc\\) +\\(\\cc\\)" . "")))
(dotimes (_ 3) ;NOTE. 数字3是一个经验数字。