aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2022-06-20 17:42:56 +0530
committerArun Isaac2022-06-20 17:42:56 +0530
commit23b89a6a436a038158f36b8532cbe21b25daede2 (patch)
tree87706b3ce42b514992e878625d754b6a440a5e78
parent3ed3a5a31f4bc05e8666c64ed605329703881343 (diff)
downloadthogai-23b89a6a436a038158f36b8532cbe21b25daede2.tar.gz
thogai-23b89a6a436a038158f36b8532cbe21b25daede2.tar.lz
thogai-23b89a6a436a038158f36b8532cbe21b25daede2.zip
Implement comma and colon commands.
* thogai.el (thogai-insert-translation): Implement comma and colon commands.
-rw-r--r--thogai.el4
1 files 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))