From ac89877d6a813c58a074edb082443c51c7877c8b Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 26 Oct 2025 00:54:03 -0500 Subject: test:custom-line-paragraph: add tests and fix region deactivation - Add 11 new tests for cj/join-line-or-region covering boundary cases, Unicode, stress testing, and undo behavior - Fix region deactivation in cj/join-line-or-region function - All 62 tests now passing (41 join-line-or-region + 21 join-paragraph) --- modules/custom-line-paragraph.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/custom-line-paragraph.el') diff --git a/modules/custom-line-paragraph.el b/modules/custom-line-paragraph.el index a23199e7..811f2a4b 100644 --- a/modules/custom-line-paragraph.el +++ b/modules/custom-line-paragraph.el @@ -28,7 +28,8 @@ (while (< (point) end) (join-line 1)) (goto-char end) - (newline)) + (newline) + (deactivate-mark)) ;; No region - only join if there's a previous line (when (> (line-number-at-pos) 1) (join-line)) -- cgit v1.2.3