From 3ef47f48fb415f9f763ec372266937945a822037 Mon Sep 17 00:00:00 2001 From: toctan Date: Thu, 30 May 2013 11:18:18 +0800 Subject: [PATCH] Fix `prelude-smart-open-line-above` --- core/prelude-core.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/prelude-core.el b/core/prelude-core.el index d0eec3d..370e41b 100644 --- a/core/prelude-core.el +++ b/core/prelude-core.el @@ -85,8 +85,10 @@ With a prefix ARG always prompt for command to use." "Insert an empty line above the current line. Position the cursor at it's beginning, according to the current mode." (interactive) + (move-beginning-of-line nil) + (newline-and-indent) (forward-line -1) - (prelude-smart-open-line)) + (funcall indent-line-function)) (defun prelude-smart-open-line () "Insert an empty line after the current line.