diff options
author | Arun Isaac | 2022-06-20 17:42:56 +0530 |
---|---|---|
committer | Arun Isaac | 2022-06-20 17:42:56 +0530 |
commit | 23b89a6a436a038158f36b8532cbe21b25daede2 (patch) | |
tree | 87706b3ce42b514992e878625d754b6a440a5e78 | |
parent | 3ed3a5a31f4bc05e8666c64ed605329703881343 (diff) | |
download | thogai-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.el | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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)) |