org.el (org-insert-heading): Fix insertion of items

* org.el (org-insert-heading): Fix insertion of items.
This commit is contained in:
Bastien Guerry 2013-04-17 10:10:34 +02:00
parent df4ed8e794
commit d68744f401
1 changed files with 1 additions and 1 deletions

View File

@ -7504,7 +7504,7 @@ This is important for non-interactive uses of the command."
(if (org-in-src-block-p) ",* " "* "))
(run-hooks 'org-insert-heading-hook))
((or arg
org-insert-heading-respect-content
(and (not (org-in-item-p)) org-insert-heading-respect-content)
(not (org-insert-item
(save-excursion
(beginning-of-line)