From bbfea51fcac0aa447cf535b1c6b0bd81cb26c8ff Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Sun, 5 Jan 2020 12:36:56 +0100 Subject: [PATCH] Fix check in `db/export-diary' for empty files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is a result of changing the types of the special org files. Now a typed language would be great … --- site-lisp/db-utils.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site-lisp/db-utils.el b/site-lisp/db-utils.el index 81ed41d..89afff5 100644 --- a/site-lisp/db-utils.el +++ b/site-lisp/db-utils.el @@ -412,7 +412,7 @@ This is done only if the value of this variable is not null." (t (progn (org-save-all-org-buffers) - (let ((org-agenda-files (cl-remove-if #'string-empty-p + (let ((org-agenda-files (cl-remove-if #'null (list db/org-default-home-file db/org-default-work-file))) (org-agenda-new-buffers nil))