|
@@ -6686,7 +6686,9 @@ This is important for non-interactive uses of the command."
|
|
(and (not (save-excursion (and (ignore-errors (org-back-to-heading invisible-ok))
|
|
(and (not (save-excursion (and (ignore-errors (org-back-to-heading invisible-ok))
|
|
(org-on-heading-p))))
|
|
(org-on-heading-p))))
|
|
(not (org-in-item-p))))
|
|
(not (org-in-item-p))))
|
|
- (insert "\n* ")
|
|
|
|
|
|
+ (progn
|
|
|
|
+ (insert "\n* ")
|
|
|
|
+ (run-hooks 'org-insert-heading-hook))
|
|
(when (or force-heading (not (org-insert-item)))
|
|
(when (or force-heading (not (org-insert-item)))
|
|
(let* ((empty-line-p nil)
|
|
(let* ((empty-line-p nil)
|
|
(head (save-excursion
|
|
(head (save-excursion
|