From 31e0976742e4e88d86f980898b7059b8329e3027 Mon Sep 17 00:00:00 2001 From: Driftcrow Date: Sat, 17 Oct 2015 09:23:20 +0800 Subject: [PATCH] Fix `SPC j k` unwanted auto-comment When the cursor is on a commented line, the next indented line was commented as well. --- layers/+distribution/spacemacs-base/funcs.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layers/+distribution/spacemacs-base/funcs.el b/layers/+distribution/spacemacs-base/funcs.el index 369a4f944..35def7a4f 100644 --- a/layers/+distribution/spacemacs-base/funcs.el +++ b/layers/+distribution/spacemacs-base/funcs.el @@ -111,7 +111,7 @@ the current state and point position." (let ((counter (or count 1))) (while (> counter 0) (join-line 1) - (sp-newline) + (newline-and-indent) (setq counter (1- counter))))) ;; from Prelude