From 66fdaf7577b1dc64871b10f2bdb1c8b77fad0529 Mon Sep 17 00:00:00 2001 From: Yuanle Song Date: Fri, 30 Aug 2019 23:05:40 +0800 Subject: [PATCH] add ; and : Chinese punctuation support --- zero-framework.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zero-framework.el b/zero-framework.el index 80471f4..7ffc748 100644 --- a/zero-framework.el +++ b/zero-framework.el @@ -254,6 +254,7 @@ return ch's Chinese punctuation if ch is converted. return nil otherwise" (?? "?") (?! "!") (?\\ "、") + (?: ":") (otherwise nil))) (defun zero-convert-punctuation-full (ch) @@ -273,6 +274,7 @@ return ch's Chinese punctuation if ch is converted. return nil otherwise" (?\' (setq zero-single-quote-flag (not zero-single-quote-flag)) (if zero-single-quote-flag "‘" "’")) (?~ "~") + (?\; ";") (t (zero-convert-punctuation-basic ch)))) (defun zero-convert-punctuation (ch) -- GitLab