From df1fdd16cc646afd31fdb34d8d06f6e4b594ed1b Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Sun, 4 Mar 2018 14:52:32 +0100 Subject: [PATCH] =?UTF-8?q?[Org]=20Delete=20=E2=80=98org-icalendar-combine?= =?UTF-8?q?d-agenda-file=E2=80=99=20before=20exporting=20diary?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- site-lisp/db-org.el | 1 + 1 file changed, 1 insertion(+) diff --git a/site-lisp/db-org.el b/site-lisp/db-org.el index 6f11cd1..2ba8a48 100644 --- a/site-lisp/db-org.el +++ b/site-lisp/db-org.el @@ -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."))))))