org.el (org-insert-heading): Fix behavior
commitfdb4b54e92aff9bbe7fec6209813af17a14eb876
authorBastien Guerry <bzg@altern.org>
Tue, 22 Apr 2014 09:18:12 +0000 (22 11:18 +0200)
committerBastien Guerry <bzg@altern.org>
Tue, 22 Apr 2014 09:18:12 +0000 (22 11:18 +0200)
tree1b884c794a3336d0fdbde69a04a6e46ff7a49977
parent6f1b5185c22aefd490147c853b3deadadab7cba4
org.el (org-insert-heading): Fix behavior

* org.el (org-insert-heading): Fix behavior when point is at
the beginning of a heading or a list item.  Enhance docstring.

Thanks to York Zhao for reporting this.
lisp/org.el