0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-09-22 13:10:42 +00:00

(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

View file

@ -6353,8 +6353,7 @@ DATA should have been made by `org-outline-overlay-data'."
;;; Folding of blocks ;;; Folding of blocks
(defconst org-block-regexp (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.") "Regular expression for hiding blocks.")
(defvar org-hide-block-overlays nil (defvar org-hide-block-overlays nil