forked from mirrors/org-mode
Fix export bug of a region with an ARCHIVE property set
This commit is contained in:
parent
ed5665e1e2
commit
adede9fbaf
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue