Browse Source

org-element: Fix 1ad58a8230694fefb5a7cb867b9e6c8dbed50cbc

* lisp/org-element.el (org-element-paragraph-parser): Fix regexp
  starting a block.
Nicolas Goaziou 12 years ago
parent
commit
52df4aba9b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/org-element.el

+ 1 - 1
lisp/org-element.el

@@ -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]*$"