1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-11-29 07:58:21 +00:00

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

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