From 53efbb6159560778e6ac33625c54081a0a09c4cd Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Mon, 13 Jun 2022 00:34:59 +0530 Subject: Respect capitalization in prefix strings. * thogai.el (thogai-insert-translation): Insert prefix strings using thogai-insert-literal. --- thogai.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/thogai.el b/thogai.el index b863018..cb16132 100644 --- a/thogai.el +++ b/thogai.el @@ -233,7 +233,8 @@ callers should never pass non-nil SUBTRANSLATION." ;; Prefix ((pred (lambda (str) (string-suffix-p "^}" str))) - (insert (string-remove-prefix "{" (string-remove-suffix "^}" translation))) + (thogai-insert-literal + (string-remove-prefix "{" (string-remove-suffix "^}" translation))) (setq thogai-attach-next t)) ;; Glue operator ((pred (lambda (str) -- cgit v1.2.3