diff options
author | Bastien Guerry <bzg@altern.org> | 2013-04-17 10:10:34 +0200 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2013-04-17 10:10:34 +0200 |
commit | d68744f40131608ac759b5db2cf0e022c1f92a84 (patch) | |
tree | 2f27b9baacf2e19b003fb2b81710c25a92e5c337 | |
parent | df4ed8e79488e2b846e35ae527e82a74b696854f (diff) | |
download | org-mode-d68744f40131608ac759b5db2cf0e022c1f92a84.tar.gz |
org.el (org-insert-heading): Fix insertion of items
* org.el (org-insert-heading): Fix insertion of items.
-rw-r--r-- | lisp/org.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org.el b/lisp/org.el index 0afa3d9..a7570dd 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -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) |