branch: externals-release/org
commit 21eb69c413681f7a3ef5d512685ade706045bd02
Author: Sun Lin <sunl...@yahoo.com>
Commit: Nicolas Goaziou <m...@nicolasgoaziou.fr>

    org-agenda-files: Work with relative file paths
    
    * lisp/org.el (org-agenda-files): Make sure org-agenda-files work with 
relative
    file paths.
    
    TINYCHANGE
---
 lisp/org.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/org.el b/lisp/org.el
index 25dce46..a8b584e 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -15355,7 +15355,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

Reply via email to