diff options
author | Arun Isaac | 2022-06-12 23:23:44 +0530 |
---|---|---|
committer | Arun Isaac | 2022-06-12 23:23:44 +0530 |
commit | 27660c79ba7df243be33121782f39e381f0dcc34 (patch) | |
tree | 5a85db91f4e7d2a5c9f964198451fa3164da39bb | |
parent | 0143af1c0b538b7c5ae008966e5d3cf73dd68c16 (diff) | |
download | thogai-27660c79ba7df243be33121782f39e381f0dcc34.tar.gz thogai-27660c79ba7df243be33121782f39e381f0dcc34.tar.lz thogai-27660c79ba7df243be33121782f39e381f0dcc34.zip |
Respect capitalization in glue strings.
* thogai.el (thogai-insert-translation): Insert glue strings using
thogai-insert-literal.
-rw-r--r-- | thogai.el | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -241,7 +241,8 @@ callers should never pass non-nil SUBTRANSLATION." (string-suffix-p "}" str)))) (unless thogai-glue (thogai-insert-space)) - (insert (string-remove-prefix "{&" (string-remove-suffix "}" translation))) + (thogai-insert-literal + (string-remove-prefix "{&" (string-remove-suffix "}" translation))) (setq thogai-glue t)) ;; Capitalize next word. ("{-|}" |