diff options
author | Nicolas Goaziou <n.goaziou@gmail.com> | 2014-02-24 17:22:55 +0100 |
---|---|---|
committer | Nicolas Goaziou <n.goaziou@gmail.com> | 2014-02-24 17:22:55 +0100 |
commit | 4298a21b825efb58ed069693f453c962d309110a (patch) | |
tree | 6aa104db4c879e0833623174518d90608ee13ceb | |
parent | c5d88fb606f0243607a9405655523b0de53ba8b0 (diff) | |
download | org-mode-4298a21b825efb58ed069693f453c962d309110a.tar.gz |
org-element: Fix parsing of inlinetasks within lists
* lisp/org-element.el (org-element--list-struct): Fix regexp.
-rw-r--r-- | lisp/org-element.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-element.el b/lisp/org-element.el index 3722502..b6ebd33 100644 --- a/lisp/org-element.el +++ b/lisp/org-element.el @@ -1225,7 +1225,7 @@ CONTENTS is the contents of the element." (forward-line) (let ((origin (point))) (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))))) ;; At some text line. Check if it ends any previous item. (t |