Mercurial > emacs
changeset 101834:31625710c524
2009-02-06 Carsten Dominik <dominik@science.uva.nl>
* org-exp.el (org-export-remove-or-extract-drawers): Fix
regular expression for extracting drawers.
author | Carsten Dominik <dominik@science.uva.nl> |
---|---|
date | Fri, 06 Feb 2009 16:17:56 +0000 |
parents | 97ed2489367d |
children | 0834b59ed600 |
files | lisp/org/ChangeLog lisp/org/org-exp.el |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/org/ChangeLog Fri Feb 06 11:47:58 2009 +0000 +++ b/lisp/org/ChangeLog Fri Feb 06 16:17:56 2009 +0000 @@ -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.
--- a/lisp/org/org-exp.el Fri Feb 06 11:47:58 2009 +0000 +++ b/lisp/org/org-exp.el Fri Feb 06 16:17:56 2009 +0000 @@ -1751,7 +1751,7 @@ (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 ""))))))