From dc8ec3fa8e996b605e01dc54dd41534ce0558335 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 14 Apr 2024 00:22:26 -0500 Subject: tests and more bug fixing - make org todo starting priority the lowest ("D") - better default prompt for gptel - added function to browse arch-wiki-docs - added tests for join line or region - added tests for format region or buffer - added region arguments to cj/join-paragraph - updated tasks --- modules/custom-functions.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'modules/custom-functions.el') diff --git a/modules/custom-functions.el b/modules/custom-functions.el index 345ebd08..9f1875a5 100644 --- a/modules/custom-functions.el +++ b/modules/custom-functions.el @@ -51,7 +51,7 @@ Region indicated with BEG and END." "Mark all text in a paragraph then run cj/join-line-or-region." (interactive) (er/mark-paragraph) ;; from package expand region - (cj/join-line-or-region) + (cj/join-line-or-region (region-beginning)(region-end)) (forward-line)) ;; ---------------------- Count Words In Buffer Or Region ---------------------- @@ -116,7 +116,6 @@ If no region is selected, operate on the whole buffer." If a region is selected, delete trailing whitespace, then indent and untabify the region. If no region is selected, perform the same actions across the buffer." - (interactive) (let (start-pos end-pos) (if (use-region-p) -- cgit v1.2.3