diff options
author | Arun Isaac | 2022-06-16 01:09:13 +0530 |
---|---|---|
committer | Arun Isaac | 2022-06-16 01:09:13 +0530 |
commit | 0378b39603440f945f1b2f12d83e04dca82d177d (patch) | |
tree | 32fa32c5657da4e9a803196aae015549d7834133 | |
parent | d22f62e9e2d0d03bf9deba8dbfa5177a514083d7 (diff) | |
download | thogai-0378b39603440f945f1b2f12d83e04dca82d177d.tar.gz thogai-0378b39603440f945f1b2f12d83e04dca82d177d.tar.lz thogai-0378b39603440f945f1b2f12d83e04dca82d177d.zip |
Remove suffix check for the glue operator.
The suffix is already guaranteed by the earlier regular expression
match.
* thogai.el (thogai-insert-translation): Remove suffix check for the
glue operator.
-rw-r--r-- | thogai.el | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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))) |