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