org-element: Fix 1ad58a8230

* lisp/org-element.el (org-element-paragraph-parser): Fix regexp
  starting a block.
This commit is contained in:
Nicolas Goaziou 2012-09-30 13:36:44 +02:00
parent 1ad58a8230
commit 52df4aba9b
1 changed files with 1 additions and 1 deletions

View File

@ -1791,7 +1791,7 @@ Assume point is at the beginning of the paragraph."
"^[ \t]*#\\+END:?[ \t]*$" limit t)))
;; Stop at valid blocks.
(and (looking-at
"[ \t]*#\\+BEGIN_\\(\\S-+\\)[ \t]*$")
"[ \t]*#\\+BEGIN_\\(\\S-+\\)")
(save-excursion
(re-search-forward
(format "^[ \t]*#\\+END_%s[ \t]*$"