summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init/km-func.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/init/km-func.el b/init/km-func.el
index 7d493b8..acbeb7d 100644
--- a/init/km-func.el
+++ b/init/km-func.el
@@ -68,10 +68,10 @@ user."
"Comment/uncomment the current line or region"
(interactive)
(let (beg end)
- (if (region-active-p)
- (setq beg (region-beginning) end (region-end))
- (setq beg (line-beginning-position) end (line-end-position)))
- (comment-or-uncomment-region beg end))
+ (if (region-active-p)
+ (setq beg (region-beginning) end (region-end))
+ (setq beg (line-beginning-position) end (line-end-position)))
+ (comment-or-uncomment-region beg end))
(forward-line))
;; kill functions