org.el (org-insert-heading): Be more consistent in respecting content
commit6c9b3ad91f6d3758471d194b75cbbf7a1030e18b
authorBastien Guerry <bzg@altern.org>
Wed, 11 Jun 2014 15:45:13 +0000 (11 17:45 +0200)
committerBastien Guerry <bzg@altern.org>
Wed, 11 Jun 2014 15:45:13 +0000 (11 17:45 +0200)
treefe0eaaffde47703594348714f0f0e33cd9e8a6c0
parentb88c5464db2cb0d90d4f30e43b5e08d2b1c1fcea
org.el (org-insert-heading): Be more consistent in respecting content

* org.el (org-insert-heading): With one universal prefix
argument or `org-insert-heading-respect-content' set to `t',
always respect the content, i.e. don't insert a list item and
don't convert normal lines into headings.  Update docstring.
(org-insert-heading-respect-content): Remove unused arg.
(org-insert-todo-heading-respect-content): Don't use
`org-insert-todo-heading-respect-content', use the second
argument of `org-insert-todo-heading' instead.

* org-mobile.el (org-mobile-edit): Use only one arg.

Thanks to Bernt Hansen for reporting this.
lisp/org-mobile.el
lisp/org.el