aboutsummaryrefslogtreecommitdiff
path: root/thogai.el
diff options
context:
space:
mode:
Diffstat (limited to 'thogai.el')
-rw-r--r--thogai.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/thogai.el b/thogai.el
index 9dc5d25..933a565 100644
--- a/thogai.el
+++ b/thogai.el
@@ -248,9 +248,9 @@ External callers should always pass nil as the value."
((pred (lambda (str)
(and (string-prefix-p "{^" str)
(string-suffix-p "^}" str))))
- (thogai-insert-literal
- (string-remove-prefix "{^" (string-remove-suffix "^}" translation)))
- (setq thogai-attach-next t))
+ (thogai-insert-translation
+ (concat "{^}{" (string-remove-prefix "{^" translation))
+ non-first-part-p))
;; Prefix
((pred (lambda (str)
(string-suffix-p "^}" str)))