Fix export bug of a region with an ARCHIVE property set

This commit is contained in:
Carsten Dominik 2010-11-01 13:57:02 +01:00
parent ed5665e1e2
commit adede9fbaf
1 changed files with 1 additions and 1 deletions

View File

@ -1482,7 +1482,7 @@ from the buffer."
(goto-char (point-min))
(while (re-search-forward re-archive nil t)
(if (not (org-on-heading-p t))
(org-end-of-subtree t)
(goto-char (point-at-eol))
(beginning-of-line 1)
(setq a (if export-archived-trees
(1+ (point-at-eol)) (point))