Normalize blank lines with <C-RET>
commitb16feed40c7f519ada0cd9315251dcc257be31d2
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Tue, 27 Nov 2018 22:21:06 +0000 (27 23:21 +0100)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Tue, 27 Nov 2018 22:21:06 +0000 (27 23:21 +0100)
treea161f2f586b4e9df5bf7f848e39995e4b29be194
parentd6e20dbcff3c9fd0870d5550fb8c06750b95c4c3
Normalize blank lines with <C-RET>

* lisp/org.el (org-insert-heading): Make C-RET more predictable.  In
  particular, it should not eat all the blank lines at the end of the
  tree.

Reported-by: David Masterson <dsmasterson@outlook.com>
<http://lists.gnu.org/r/emacs-orgmode/2018-11/msg00275.html>
lisp/org.el