org-element: Fix 1ad58a8230
* lisp/org-element.el (org-element-paragraph-parser): Fix regexp starting a block.
This commit is contained in:
parent
1ad58a8230
commit
52df4aba9b
|
@ -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]*$"
|
||||
|
|
Loading…
Reference in New Issue