Explorar o código

Merge branch 'maint'

Nicolas Goaziou %!s(int64=11) %!d(string=hai) anos
pai
achega
d55fa4b783
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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