aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2022-06-12 23:23:44 +0530
committerArun Isaac2022-06-12 23:23:44 +0530
commit27660c79ba7df243be33121782f39e381f0dcc34 (patch)
tree5a85db91f4e7d2a5c9f964198451fa3164da39bb
parent0143af1c0b538b7c5ae008966e5d3cf73dd68c16 (diff)
downloadthogai-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.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/thogai.el b/thogai.el
index 425edf1..8e1f5be 100644
--- a/thogai.el
+++ b/thogai.el
@@ -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.
("{-|}"