diff options
author | Arun Isaac | 2022-06-14 01:24:23 +0530 |
---|---|---|
committer | Arun Isaac | 2022-06-16 00:26:13 +0530 |
commit | 1eff5affa52a750a1f2f5382353659382b0c6695 (patch) | |
tree | 1ebb3a3380977c60f2da4accd9ce0ec07fd37692 | |
parent | 0b7da648f555593c0eb0e587634f36081638583d (diff) | |
download | thogai-1eff5affa52a750a1f2f5382353659382b0c6695.tar.gz thogai-1eff5affa52a750a1f2f5382353659382b0c6695.tar.lz thogai-1eff5affa52a750a1f2f5382353659382b0c6695.zip |
Implement period, question mark and exclamation mark.
* thogai.el (thogai-insert-translation): Implement period, question
mark and exclamation mark.
-rw-r--r-- | thogai.el | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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)) |