aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--thogai.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/thogai.el b/thogai.el
index 933a565..a893c80 100644
--- a/thogai.el
+++ b/thogai.el
@@ -268,6 +268,11 @@ External callers should always pass nil as the value."
(thogai-insert-literal
(string-remove-prefix "{&" (string-remove-suffix "}" translation)))
(setq thogai-glue t))
+ ;; Period, question mark or exclamation mark
+ ((or "{.}" "{?}" "{!}")
+ (insert (string-remove-prefix "{" (string-remove-suffix "}" translation)))
+ (insert " ")
+ (setq thogai-capitalize-next-word t))
;; Capitalize next word.
("{-|}"
(setq thogai-capitalize-next-word t))