aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--thogai.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/thogai.el b/thogai.el
index 8a8091f..3936bc7 100644
--- a/thogai.el
+++ b/thogai.el
@@ -260,8 +260,7 @@ External callers should always pass nil as the value."
non-first-part-p))
;; Glue operator
((pred (lambda (str)
- (and (string-prefix-p "{&" str)
- (string-suffix-p "}" str))))
+ (string-prefix-p "{&" str)))
(thogai-insert-translation
(concat (if thogai-glue "{^}" "")
(string-remove-prefix "{&" (string-remove-suffix "}" translation)))