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:
Nicolas Goaziou 2013-10-16 21:26:19 +02:00
parent b1e7b86fda
commit 5394f15e51
1 changed files with 1 additions and 1 deletions

View File

@ -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))))