浏览代码

Merge branch 'maint'

Nicolas Goaziou 11 年之前
父节点
当前提交
d55fa4b783
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lisp/org-element.el

+ 1 - 1
lisp/org-element.el

@@ -1268,7 +1268,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