|
@@ -1253,7 +1253,10 @@ line and position cursor in that line."
|
|
(beginning-of-line 2)
|
|
(beginning-of-line 2)
|
|
(if (and (>= (org-get-indentation) ind-last)
|
|
(if (and (>= (org-get-indentation) ind-last)
|
|
(org-at-item-p))
|
|
(org-at-item-p))
|
|
- (org-end-of-item))
|
|
|
|
|
|
+ (when (and (>= (org-get-indentation) ind-last)
|
|
|
|
+ (org-at-item-p))
|
|
|
|
+ (let ((struct (org-list-struct)))
|
|
|
|
+ (goto-char (org-list-get-bottom-point struct)))))
|
|
(insert ":END:\n")
|
|
(insert ":END:\n")
|
|
(beginning-of-line 0)
|
|
(beginning-of-line 0)
|
|
(org-indent-line-to ind-last)
|
|
(org-indent-line-to ind-last)
|