diff options
author | Arun Isaac | 2022-06-13 00:42:52 +0530 |
---|---|---|
committer | Arun Isaac | 2022-06-13 00:42:52 +0530 |
commit | d70b0db60691086ce7f82a5d5211d7a3217f5541 (patch) | |
tree | a34fae1b44e9738626e644b7eba381fae4143da8 | |
parent | 58ca6663a851329645f1c1ed9e15104b006485a7 (diff) | |
download | thogai-d70b0db60691086ce7f82a5d5211d7a3217f5541.tar.gz thogai-d70b0db60691086ce7f82a5d5211d7a3217f5541.tar.lz thogai-d70b0db60691086ce7f82a5d5211d7a3217f5541.zip |
Insert space before prefix translations.
* thogai.el (thogai-insert-translation): Insert space before prefix
translations if it is the first part of the translation.
-rw-r--r-- | thogai.el | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -236,6 +236,8 @@ callers should never pass non-nil SUBTRANSLATION." ;; Prefix ((pred (lambda (str) (string-suffix-p "^}" str))) + (unless subtranslation + (thogai-insert-space)) (thogai-insert-literal (string-remove-prefix "{" (string-remove-suffix "^}" translation))) (setq thogai-attach-next t)) |