Browse Source

Merge pull request #331 from toctan/master

Fix `prelude-smart-open-line-above`
custom
Bozhidar Batsov 13 years ago
parent
commit
d01818207c
  1. 4
      core/prelude-core.el

4
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. "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…
Cancel
Save