diff options
| author | Arun Isaac | 2022-06-13 00:34:59 +0530 |
|---|---|---|
| committer | Arun Isaac | 2022-06-13 00:34:59 +0530 |
| commit | 53efbb6159560778e6ac33625c54081a0a09c4cd (patch) | |
| tree | 42ce0e55a8edc2db25dcc3e109e2b14b11ffe26a | |
| parent | dc546ddc7865d910b8e90f5f79585da72bdbd7d1 (diff) | |
| download | thogai-53efbb6159560778e6ac33625c54081a0a09c4cd.tar.gz thogai-53efbb6159560778e6ac33625c54081a0a09c4cd.tar.lz thogai-53efbb6159560778e6ac33625c54081a0a09c4cd.zip | |
Respect capitalization in prefix strings.
* thogai.el (thogai-insert-translation): Insert prefix strings using thogai-insert-literal.
| -rw-r--r-- | thogai.el | 3 |
1 files changed, 2 insertions, 1 deletions
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) |
