[Org] Delete ‘org-icalendar-combined-agenda-file’ before exporting diary
This commit is contained in:
parent
6187886bcf
commit
df1fdd16cc
|
@ -798,6 +798,7 @@ This is done only if the value of this variable is not null."
|
|||
;; actual export; calls `org-release-buffers’ and may thus close
|
||||
;; buffers we want to keep around … which is why we set
|
||||
;; `org-agenda-new-buffers’ to nil
|
||||
(delete-file org-icalendar-combined-agenda-file)
|
||||
(org-icalendar-combine-agenda-files)
|
||||
(message "Exporting diary ... done."))))))
|
||||
|
||||
|
|
Loading…
Reference in New Issue