summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/init-editing.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/init-editing.el b/lisp/init-editing.el
index 5b0bcd8..74dd712 100644
--- a/lisp/init-editing.el
+++ b/lisp/init-editing.el
@@ -153,12 +153,11 @@
(define-key kill-map "p" 'km/kill-paragraph-at-point)
(define-key kill-map "l" 'km/kill-line-at-point)
+;; Taken from prelude-core.el.
(defun km/join-next-line-with-space ()
"Join current line to the next line with a space in between."
(interactive)
- (move-end-of-line 1)
- (kill-line)
- (just-one-space))
+ (delete-indentation 1))
(define-key kill-map "j" 'km/join-next-line-with-space)