aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--thogai.el9
1 files changed, 4 insertions, 5 deletions
diff --git a/thogai.el b/thogai.el
index 44c1716..8a8091f 100644
--- a/thogai.el
+++ b/thogai.el
@@ -254,11 +254,10 @@ External callers should always pass nil as the value."
;; Prefix
((pred (lambda (str)
(string-suffix-p "^}" str)))
- (unless non-first-part-p
- (thogai-insert-space))
- (thogai-insert-literal
- (string-remove-prefix "{" (string-remove-suffix "^}" translation)))
- (setq thogai-attach-next t))
+ (thogai-insert-translation
+ (concat (string-remove-prefix "{" (string-remove-suffix "^}" translation))
+ "{^}")
+ non-first-part-p))
;; Glue operator
((pred (lambda (str)
(and (string-prefix-p "{&" str)