From: Nicolas Goaziou Date: Sun, 8 Sep 2013 21:50:53 +0000 (+0200) Subject: org-element: Fix d003d56eaf5ffb8c2106ef69cbbc6bbee57b7e00 X-Git-Tag: release_8.1.2~6^2~5 X-Git-Url: https://repo.or.cz/w/org-mode.git/commitdiff_plain/a031a4b75baf18975d1b8d4530cbed164bfc9db5 org-element: Fix d003d56eaf5ffb8c2106ef69cbbc6bbee57b7e00 * lisp/org-element.el (org-element-paragraph-parser): Use `org-match-string-no-properties'. --- diff --git a/lisp/org-element.el b/lisp/org-element.el index b1b8f2f37..564a434a8 100644 --- a/lisp/org-element.el +++ b/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-+:")