summaryrefslogtreecommitdiff
path: root/modules/custom-functions.el
diff options
context:
space:
mode:
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)