[Org] Don’t delete diary before export
The original use case, namely an underlying git-annex repository in indirect mode, has now been changed into an (experimental) v6 git-annex repository. Let’s see how this works out.
This commit is contained in:
parent
e235e9993c
commit
3189a3a0b1
@ -801,8 +801,6 @@ This is done only if the value of this variable is not null."
|
|||||||
;; actual export; calls `org-release-buffers’ and may thus close
|
;; actual export; calls `org-release-buffers’ and may thus close
|
||||||
;; buffers we want to keep around … which is why we set
|
;; buffers we want to keep around … which is why we set
|
||||||
;; `org-agenda-new-buffers’ to nil
|
;; `org-agenda-new-buffers’ to nil
|
||||||
(when (file-exists-p org-icalendar-combined-agenda-file)
|
|
||||||
(delete-file org-icalendar-combined-agenda-file))
|
|
||||||
(org-icalendar-combine-agenda-files)
|
(org-icalendar-combine-agenda-files)
|
||||||
(message "Exporting diary ... done.")))))))
|
(message "Exporting diary ... done.")))))))
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user