mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-27 12:32:52 +00:00
Export: Fix regular expression for extracting drawers
Reported by Rainer Stengele.
This commit is contained in:
parent
5f68200625
commit
6eed51c304
|
@ -1,5 +1,8 @@
|
|||
2009-02-06 Carsten Dominik <carsten.dominik@gmail.com>
|
||||
|
||||
* org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
|
||||
for finding drawers.
|
||||
|
||||
* org.el (org-do-sort): Also take an inactive timestamp if no
|
||||
active one is found.
|
||||
|
||||
|
|
|
@ -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 ""))))))
|
||||
|
|
Loading…
Reference in a new issue