summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <n.goaziou@gmail.com>2013-10-16 21:29:16 +0200
committerNicolas Goaziou <n.goaziou@gmail.com>2013-10-16 21:29:16 +0200
commit4bf9a53cde29b6024062d5d7ab63eb5ac199ee0e (patch)
treea4448327168c141d281bfe36d944cedd1aaf5e18
parent61e4f1b2c8fa5198c7af1a8c60c20a2255a5e656 (diff)
parent5394f15e51af7aa28611b6a9c69e8b2dcdf6f98d (diff)
downloadorg-mode-4bf9a53cde29b6024062d5d7ab63eb5ac199ee0e.tar.gz
Merge branch 'maint'
-rw-r--r--lisp/org-element.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-element.el b/lisp/org-element.el
index 3e75365..897d6e1 100644
--- a/lisp/org-element.el
+++ b/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))))