Merge pull request #331 from toctan/master
Fix `prelude-smart-open-line-above`
This commit is contained in:
commit
d01818207c
1 changed files with 3 additions and 1 deletions
|
@ -85,8 +85,10 @@ With a prefix ARG always prompt for command to use."
|
||||||
"Insert an empty line above the current line.
|
"Insert an empty line above the current line.
|
||||||
Position the cursor at it's beginning, according to the current mode."
|
Position the cursor at it's beginning, according to the current mode."
|
||||||
(interactive)
|
(interactive)
|
||||||
|
(move-beginning-of-line nil)
|
||||||
|
(newline-and-indent)
|
||||||
(forward-line -1)
|
(forward-line -1)
|
||||||
(prelude-smart-open-line))
|
(funcall indent-line-function))
|
||||||
|
|
||||||
(defun prelude-smart-open-line ()
|
(defun prelude-smart-open-line ()
|
||||||
"Insert an empty line after the current line.
|
"Insert an empty line after the current line.
|
||||||
|
|
Loading…
Reference in a new issue