mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-26 14:32:52 +00:00
org-element: Fix d003d56eaf
* lisp/org-element.el (org-element-paragraph-parser): Use `org-match-string-no-properties'.
This commit is contained in:
parent
d003d56eaf
commit
a031a4b75b
|
@ -2177,7 +2177,7 @@ Assume point is at the beginning of the paragraph."
|
||||||
(re-search-forward
|
(re-search-forward
|
||||||
(format "^[ \t]*#\\+END_%s[ \t]*$"
|
(format "^[ \t]*#\\+END_%s[ \t]*$"
|
||||||
(regexp-quote
|
(regexp-quote
|
||||||
(match-string-no-properties 1)))
|
(org-match-string-no-properties 1)))
|
||||||
limit t)))
|
limit t)))
|
||||||
;; Stop at valid latex environments.
|
;; Stop at valid latex environments.
|
||||||
(and (looking-at
|
(and (looking-at
|
||||||
|
@ -2186,7 +2186,7 @@ Assume point is at the beginning of the paragraph."
|
||||||
(re-search-forward
|
(re-search-forward
|
||||||
(format "^[ \t]*\\\\end{%s}[ \t]*$"
|
(format "^[ \t]*\\\\end{%s}[ \t]*$"
|
||||||
(regexp-quote
|
(regexp-quote
|
||||||
(match-string-no-properties 1)))
|
(org-match-string-no-properties 1)))
|
||||||
limit t)))
|
limit t)))
|
||||||
;; Stop at valid keywords.
|
;; Stop at valid keywords.
|
||||||
(looking-at "[ \t]*#\\+\\S-+:")
|
(looking-at "[ \t]*#\\+\\S-+:")
|
||||||
|
|
Loading…
Reference in a new issue