Commit 7297ca6d authored by Carsten Dominik's avatar Carsten Dominik
Browse files

2009-02-06 Carsten Dominik <dominik@science.uva.nl>

	* org-exp.el (org-export-remove-or-extract-drawers): Fix
	regular expression for extracting drawers.
parent ee9d4ebe
......@@ -2,6 +2,8 @@
* org-exp.el (org-export-preprocess-string): Fix bug with skipping
text before first headline.
(org-export-remove-or-extract-drawers): Fix regular expression for
extracting drawers.
* org.el (org-format-latex): Stop LaTeX fragment processing in
protected examples.
......
......@@ -1751,7 +1751,7 @@ whose content to keep."
(org-delete-all exp-drawers
(copy-sequence all-drawers))
"\\|")
"\\):[ \t]*\n\\([^@]*?\n\\)?[ \t]*:END:[ \t]*\n")))
"\\):[ \t]*\n\\([^\000]*?\n\\)?[ \t]*:END:[ \t]*\n")))
(while (re-search-forward re nil t)
(org-if-unprotected
(replace-match ""))))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment