From a5557ea4f51571ee9def3cd9a1ab1c38f1a27af7 Mon Sep 17 00:00:00 2001 From: Alexander Miller Date: Thu, 22 Jul 2021 22:28:00 +0200 Subject: [PATCH] Tests: (org-super-agenda-test--run) Expand file names Since 21eb69 Org expands agenda files relative to org-directory, so we have to use absolute paths. --- test/test.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test.el b/test/test.el index 4643e8b..f678bc2 100644 --- a/test/test.el +++ b/test/test.el @@ -268,8 +268,8 @@ already loaded." ;; HACK: Look for test.org in either dir, so it works interactively and ;; in batch tests. This is ugly, but I don't know how else to do it. (org-agenda-files (list (if (file-exists-p "test/test.org") - "test/test.org" - "test.org"))) + (expand-file-name "test/test.org") + (expand-file-name "test.org")))) ,@(if let* let* `((ignore nil)))