|
@@ -1225,7 +1225,7 @@ CONTENTS is the contents of the element."
|
|
(forward-line)
|
|
(forward-line)
|
|
(let ((origin (point)))
|
|
(let ((origin (point)))
|
|
(when (re-search-forward inlinetask-re limit t)
|
|
(when (re-search-forward inlinetask-re limit t)
|
|
- (if (looking-at "^\\*+ END[ \t]*$") (forward-line)
|
|
|
|
|
|
+ (if (org-looking-at-p "END[ \t]*$") (forward-line)
|
|
(goto-char origin)))))
|
|
(goto-char origin)))))
|
|
;; At some text line. Check if it ends any previous item.
|
|
;; At some text line. Check if it ends any previous item.
|
|
(t
|
|
(t
|