Fix consistency with `org-insert-heading' called with an argument
commit2b03e945a19701194e510791a96006c5eee9edc6
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Tue, 4 Oct 2016 09:33:10 +0000 (4 11:33 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Tue, 4 Oct 2016 09:33:10 +0000 (4 11:33 +0200)
treea640a7a403089b8b01a73c4292f38d8cc83eb137
parent17e73cf9496b9972e21c4024cd9719740c2b3e62
Fix consistency with `org-insert-heading' called with an argument

* lisp/org.el (org-insert-heading): Consistently add a new heading at
  the end of the subtree when called with an universal argument, even if
  point is at beginning of line.

Reported-by: Jorge <jorge13515@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/109510>
lisp/org.el