From 3189a3a0b169ae8e7f3ca5368b3e14b22e6dc870 Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Sun, 25 Mar 2018 20:59:58 +0200 Subject: [PATCH] =?UTF-8?q?[Org]=20Don=E2=80=99t=20delete=20diary=20before?= =?UTF-8?q?=20export?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- site-lisp/db-org.el | 2 -- 1 file changed, 2 deletions(-) diff --git a/site-lisp/db-org.el b/site-lisp/db-org.el index b3d70e8..540800b 100644 --- a/site-lisp/db-org.el +++ b/site-lisp/db-org.el @@ -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 ;; buffers we want to keep around … which is why we set ;; `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) (message "Exporting diary ... done.")))))))