Browse Source

org-element: Use `org-match-string-no-properties'.

* lisp/org-element.el (org-element--list-struct): Use
  `org-match-string-no-properties'.
Nicolas Goaziou 11 years ago
parent
commit
5394f15e51
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/org-element.el

+ 1 - 1
lisp/org-element.el

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