From 27660c79ba7df243be33121782f39e381f0dcc34 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Sun, 12 Jun 2022 23:23:44 +0530 Subject: Respect capitalization in glue strings. * thogai.el (thogai-insert-translation): Insert glue strings using thogai-insert-literal. --- thogai.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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. ("{-|}" -- cgit v1.2.3