forked from mirrors/org-mode
org-element: Use `org-match-string-no-properties'.
* lisp/org-element.el (org-element--list-struct): Use `org-match-string-no-properties'.
This commit is contained in:
parent
b1e7b86fda
commit
5394f15e51
|
@ -1233,7 +1233,7 @@ CONTENTS is the contents of the element."
|
|||
((and (looking-at "#\\+BEGIN\\(:\\|_\\S-+\\)")
|
||||
(re-search-forward
|
||||
(format "^[ \t]*#\\+END%s[ \t]*$"
|
||||
(match-string-no-properties 1))
|
||||
(org-match-string-no-properties 1))
|
||||
limit t)))
|
||||
((and (looking-at drawers-re)
|
||||
(re-search-forward "^[ \t]*:END:[ \t]*$" limit t))))
|
||||
|
|
Loading…
Reference in New Issue