From 564f33ba27e95a3499bcafb04533676a31379c80 Mon Sep 17 00:00:00 2001 From: Kinneyzhang Date: Mon, 28 Jul 2025 19:45:40 +0800 Subject: [PATCH] fix issue #1 --- ekp-utils.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ekp-utils.el b/ekp-utils.el index 77d581e..719c92c 100644 --- a/ekp-utils.el +++ b/ekp-utils.el @@ -219,6 +219,10 @@ the value of [SYM]-default." (setq curr-str (concat curr-str str)) (setq state 1)))))) (forward-char 1)) + ;; push CJK char at the end of buffer to boxes + (when prev-str + (push prev-str boxes)) + ;; push latin word at the end of buffer to boxes (when curr-str (push curr-str boxes)) (vconcat (nreverse boxes)))))