Improve behvior of org-insert-heading to end of subtree
commitcf6e54e90bbf2702b7aa5596446993c619604b40
authorCarsten Dominik <carsten.dominik@gmail.com>
Thu, 19 Sep 2013 02:56:48 +0000 (19 04:56 +0200)
committerCarsten Dominik <carsten.dominik@gmail.com>
Thu, 19 Sep 2013 02:59:09 +0000 (19 04:59 +0200)
tree7ec3f7c7fc3cf9386997d6f32af3d4bce4d09273
parentcc8263a0b32762033516ceacc8f556d7f4eda088
Improve behvior of org-insert-heading to end of subtree

* lisp/org.el (org-insert-heading): Improve whitespace behavior at
end of subtree.

In a subtree with lots of empty space at the end, until now the new
entry would be inserted after all that whitespace.  Now, it is
inserted closer to the existing text, and the whitespace remains after
the new headline.
lisp/org.el