summaryrefslogtreecommitdiff
path: root/modules/custom-functions.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2024-04-14 00:22:26 -0500
committerCraig Jennings <c@cjennings.net>2024-04-14 00:22:26 -0500
commitdc8ec3fa8e996b605e01dc54dd41534ce0558335 (patch)
treedec4c6850b4acff604fd6f080ab5fb70b6e8d6c1 /modules/custom-functions.el
parent61393683774458a18a99d8548b03e841045b239d (diff)
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
Diffstat (limited to 'modules/custom-functions.el')
-rw-r--r--modules/custom-functions.el3
1 files changed, 1 insertions, 2 deletions
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)