Browse Source

Merge branch 'maint'

Nicolas Goaziou 11 years ago
parent
commit
aecdf50dc6
1 changed files with 2 additions and 2 deletions
  1. 2 2
      lisp/org-element.el

+ 2 - 2
lisp/org-element.el

@@ -2177,7 +2177,7 @@ Assume point is at the beginning of the paragraph."
 				(re-search-forward
 				 (format "^[ \t]*#\\+END_%s[ \t]*$"
 					 (regexp-quote
-					  (match-string-no-properties 1)))
+					  (org-match-string-no-properties 1)))
 				 limit t)))
 			 ;; Stop at valid latex environments.
 			 (and (looking-at
@@ -2186,7 +2186,7 @@ Assume point is at the beginning of the paragraph."
 				(re-search-forward
 				 (format "^[ \t]*\\\\end{%s}[ \t]*$"
 					 (regexp-quote
-					  (match-string-no-properties 1)))
+					  (org-match-string-no-properties 1)))
 				 limit t)))
 			 ;; Stop at valid keywords.
 			 (looking-at "[ \t]*#\\+\\S-+:")