aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--thogai.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/thogai.el b/thogai.el
index bc69eb7..2bd3b71 100644
--- a/thogai.el
+++ b/thogai.el
@@ -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))