瀏覽代碼

org-element: Fix d003d56eaf5ffb8c2106ef69cbbc6bbee57b7e00

* lisp/org-element.el (org-element-paragraph-parser): Use
  `org-match-string-no-properties'.
Nicolas Goaziou 11 年之前
父節點
當前提交
a031a4b75b
共有 1 個文件被更改,包括 2 次插入2 次删除
  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-+:")