Browse Source

Simplify implementation of prelude-smart-open-line-above

As suggested by bbatsov.
custom
Abizer Nasir 13 years ago
parent
commit
f0c2618a3e
  1. 6
      core/prelude-core.el

6
core/prelude-core.el

@ -83,10 +83,8 @@
"Insert an empty line above the current line.
Position the cursor at it's beginning, according to the current mode"
(interactive)
(beginning-of-line)
(newline)
(forward-line -1)
(indent-according-to-mode))
(previous-line)
(prelude-smart-open-line))
(defun prelude-smart-open-line ()
"Insert an empty line after the current line.

Loading…
Cancel
Save