From 23b89a6a436a038158f36b8532cbe21b25daede2 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Mon, 20 Jun 2022 17:42:56 +0530 Subject: Implement comma and colon commands. * thogai.el (thogai-insert-translation): Implement comma and colon commands. --- thogai.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/thogai.el b/thogai.el index 1d32dcd..6417af1 100644 --- a/thogai.el +++ b/thogai.el @@ -391,8 +391,8 @@ External callers should always pass nil as the value." thogai-capitalize-next-word nil thogai-glue nil thogai-uncapitalize-next-word nil)) - ;; Period, question mark or exclamation mark - ((or "{.}" "{?}" "{!}") + ;; Period, comma, colon, question mark or exclamation mark + ((or "{.}" "{,}" "{:}" "{?}" "{!}") (insert (string-remove-prefix "{" (string-remove-suffix "}" translation))) (insert " ") (setq thogai-capitalize-next-word t)) -- cgit v1.2.3