(org-block-regexp): Now also match dynamic blocks.

This commit is contained in:
Bastien Guerry 2011-02-02 16:12:27 +01:00
parent b3c3746d92
commit 16b408bd06
1 changed files with 1 additions and 2 deletions

View File

@ -6353,8 +6353,7 @@ DATA should have been made by `org-outline-overlay-data'."
;;; Folding of blocks
(defconst org-block-regexp
"^[ \t]*#\\+begin_\\([^ \n]+\\)\\(\\([^\n]+\\)\\)?\n\\([^\000]+?\\)#\\+end_\\1[ \t]*$"
"^[ \t]*#\\+begin_?\\([^ \n]+\\)\\(\\([^\n]+\\)\\)?\n\\([^\000]+?\\)#\\+end_?\\1[ \t]*$"
"Regular expression for hiding blocks.")
(defvar org-hide-block-overlays nil