0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-09-29 20:37:51 +00:00

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
This commit is contained in:
Sun Lin 2021-05-13 09:52:33 +00:00 committed by Nicolas Goaziou
parent 13c78a5900
commit 21eb69c413

View file

@ -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