Hi Nicolas, Please help review and merge this patch. Thanks
Best Regards Sun.Lin
From e963bd5554b076c813cde1f59d75f0686fec8a14 Mon Sep 17 00:00:00 2001 From: Sun Lin <sunl...@yahoo.com> Date: Thu, 13 May 2021 09:52:33 +0000 Subject: [PATCH] org-agenda-files: work with relateive file paths. * lisp/org.el (org-agenda-files): Make sure org-agenda-files work with relative file paths. --- lisp/org.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org.el b/lisp/org.el index b388bca..04e1f80 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -15395,7 +15395,7 @@ used by the agenda files. If ARCHIVE is `ifmode', do this only if (if (file-directory-p f) (directory-files f t org-agenda-file-regexp) - (list f))) + (list (expand-file-name f org-directory)))) files))) (when org-agenda-skip-unavailable-files (setq files (delq nil -- 2.7.0