1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

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

* org-exp.el (org-export-remove-or-extract-drawers): Fix
	regular expression for extracting drawers.
This commit is contained in:
Carsten Dominik 2009-02-06 16:17:56 +00:00
parent ee9d4ebe94
commit 7297ca6d3d
2 changed files with 3 additions and 1 deletions

View file

@ -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.

View file

@ -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 ""))))))