From b3151704de6b2328f35bb1f1f0ad45993823bbdd Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Sun, 8 Oct 2017 16:33:43 +0200 Subject: [PATCH] =?UTF-8?q?[Org]=20Fix=20issue=20of=20=E2=80=98nil?= =?UTF-8?q?=E2=80=99=20file=20names=20when=20exporting=20diary?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- site-lisp/db-org.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site-lisp/db-org.el b/site-lisp/db-org.el index c4b07ab..cd3c0a0 100644 --- a/site-lisp/db-org.el +++ b/site-lisp/db-org.el @@ -774,7 +774,7 @@ _y_: ?y? year _q_: quit _L__l__c_: ?l? (message "Exporting diary ...") ;; open files manually to avoid polluting `org-agenda-new-buffers’; we don’t ;; want these buffers to be closed after exporting - (mapc #'find-file-noselect org-agenda-files) + (mapc #'find-file-noselect (cl-remove-if #'null org-agenda-files)) ;; 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