From 52df4aba9be59f21f54160e9a0c3b7029f195114 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sun, 30 Sep 2012 13:36:44 +0200 Subject: [PATCH] org-element: Fix 1ad58a8230694fefb5a7cb867b9e6c8dbed50cbc * lisp/org-element.el (org-element-paragraph-parser): Fix regexp starting a block. --- lisp/org-element.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org-element.el b/lisp/org-element.el index d353f2f43..21628b502 100644 --- a/lisp/org-element.el +++ b/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]*$"