diff options
-rw-r--r-- | thogai.el | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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))) |